Push Notification Devices

A push notification device is a mobile device identifier used by the Zendesk Support SDK to send push notifications.

Bulk Unregister Push Notification Devices

  • POST /api/v2/push_notification_devices/destroy_many

Unregisters the mobile devices that are receiving push notifications. Specify the devices as an array of mobile device tokens.

Allowed for

  • Admins

Example body

{  "push_notification_devices": [    "token1",    "token2"  ]}

Using cURL

curl -X "POST" "https://{subdomain}.zendesk.com/api/v2/push_notification_devices/destroy_many.json" \  -u {email_address}:{password} \  -H "Content-Type: application/json" \  -H "Accept: application/json" \  -d '{ "push_notification_devices": ["token1", "token2"] }'

Example response(s)

200 OK
Status 200 OK