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

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

Name of the instance

Body

application/json