PUT

https://{server-url}

/
chat
/
updatePrivacySettings
/
{instance}
curl --request PUT \
  --url https://{server-url}/chat/updatePrivacySettings/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "privacySettings": {
    "readreceipts": "all",
    "profile": "all",
    "status": "all",
    "online": "all",
    "last": "all",
    "groupadd": "all"
  }
}'

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
privacySettings
object