Reset push preferences
DELETE {{baseUrl}}/v3/users/:user_id/push_preference
Reset push preferences
Resets a user's push preferences. After performing this action,
do_not_disturb
and snooze_enabled
are set to false.
The values of the parameters associated with the time frame are all set to 0.
timezone
is reset to UTC
.
push_sound
is reset to default
.
https://sendbird.com/docs/chat/v3/platform-api/guides/user#2-reset-push-preferences
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Accept | string |
RESPONSES
status: OK
{"snooze_start_ts":"\u003cstring\u003e","start_hour":"\u003cnumber\u003e","snooze_enabled":"\u003cboolean\u003e","end_min":"\u003cnumber\u003e","timezone":"\u003cstring\u003e","block_push_from_bots":"\u003cboolean\u003e","push_blocked_bot_ids":["\u003cnumber\u003e","\u003cnumber\u003e"],"start_min":"\u003cnumber\u003e","snooze_end_ts":"\u003cstring\u003e","do_not_disturb":"\u003cboolean\u003e","end_hour":"\u003cnumber\u003e","enable_push_for_replies":"\u003cboolean\u003e","push_sound":"\u003cstring\u003e","push_trigger_option":"\u003cstring\u003e"}