Unregister matching devices for push notifications

DELETE /push/deviceRegistrations

Unregisters devices. All their subscriptions for receiving push notifications through channels will also be deleted.

Query parameters

  • deviceId string

    Optional filter to restrict to devices associated with that deviceId. Cannot be used with clientId.

  • clientId string

    Optional filter to restrict to devices associated with that clientId. Cannot be used with deviceId.

Responses

DELETE /push/deviceRegistrations
curl \
 -X DELETE https://rest.ably.io/push/deviceRegistrations
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"
}