Skip to content

Users preferences

Set the preferences of a user

Endpoint URI

1
PUT https://services.ownpage.fr/v1/blocks/users

Headers

  • X-Ownpage-Client-Token : a valid token

Payload (JSON)

The data should be a JSON object with the following parameters :

  • guid : the user's guid
  • preferences : list of the user's preferences

Example:

1
2
3
4
{
    "guid" : "123456",
    "preferences" : ["Sport", "Culture"]
}

Comments