Deregister Device
Push Notification Endpoints
Deregister Device
Remove a device registration so the authenticated user stops receiving push notifications on it
DELETE
Deregister Device
Removes the calling user’s push device registration. The device is identified the same way it was registered — by its token (iOS/Android) or subscription endpoint (Web). If the device doesn’t exist or belongs to a different user, the request is a clean no-op (returns
Returned when no matching device exists for this user. This includes the case where the device exists but is registered to a different user — callers cannot deregister devices they don’t own.
404) rather than an error.
Requires end-user authentication. Service and master keys are rejected for the same reason as Register Device.
Requires the push bundle.
Body Parameters
The device platform. One of
"ios", "android", or "web".The APNs or FCM device token. Required when
platform is "ios" or "android".The Web Push subscription object. Required when
platform is "web". The server uses only the endpoint field to identify the registration.Response
Returns200 with an empty body when the device was found and removed.
Error Responses
Not Found — 404
Not Found — 404
Unauthorized — 401
Unauthorized — 401
Invalid Body — 400
Invalid Body — 400
Bundle Not Installed — 403
Bundle Not Installed — 403

