curl --request PUT \
--url https://api.zapkey.io/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"
}
}
'