Unregister a single device for push notifications
Unregisters a single device by its device ID. All its subscriptions for receiving push notifications through channels will also be deleted.
Path parameters
-
Device's ID.
DELETE /push/deviceRegistrations/{device_id}
curl \
-X DELETE https://rest.ably.io/push/deviceRegistrations/{device_id}
Response examples (default)
# Headers
x-ably-errorcode: 42
x-ably-errormessage: string
x-ably-serverid: string
# Payload
{
"message": "string",
"code": 42,
"statusCode": 42,
"href": "string",
"serverId": "string"
}
Response examples (default)
# Headers
x-ably-errorcode: 42
x-ably-errormessage: string
x-ably-serverid: string
# Payload
{
"message": "string",
"code": 42,
"statusCode": 42,
"href": "string",
"serverId": "string"
}