Deregister a device
DELETE/notifications/devices/:token
Removes the calling user's registration for one device token, so the device stops receiving their push notifications. Clients call this on logout and when switching user. A token that is already gone succeeds as well: the caller asked for the device not to be registered, and it is not.
Request
Responses
- 200
- 400
- 401
- 403
- 429
The device is not registered
The token is missing from the path
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request