curl --request PUT \
--url https://apix.us.amity.co/api/v1/presence/settings/user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true
}'
{
"enabled": true,
"enabledAt": "2023-11-07T05:31:56Z"
}
Update presence feature setting on user level.
curl --request PUT \
--url https://apix.us.amity.co/api/v1/presence/settings/user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true
}'
{
"enabled": true,
"enabledAt": "2023-11-07T05:31:56Z"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Update presence user setting response
Presence user setting