cURL
curl --request PATCH \ --url https://{appid}.api-{region}.cometchat.io/v3/notifications/v1/preferences/timezone \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "timezone": "Asia/Tokyo" } '
{ "data": { "timezone": "Asia/Kolkata" } }
Update the timezone on behalf of the user.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
(Required) UID
Input a valid Timezone Identifier. Eg: Asia/Tokyo
"Asia/Tokyo"
A list of push notification's settings
Was this page helpful?