Unregister a push device
DELETE
/push/devices/:deviceIdStop push notifications for the given device. Call this on sign-out. Returns 404 for devices registered by another app or owned by another user.
| Auth | Login required |
|---|
Path parameters
deviceIdstringrequiredDevice ID.
Response
| Field | Type | Description |
|---|---|---|
id | string | ID of the unregistered device. |
Request
curl https://api.4s.link/push/devices/DEVICE_ID \-X DELETE \-H "Authorization: Bearer 4s_at_..."
Example response
{"id": "b7c1a2d3-..."}