Unregister a push device

DELETE/push/devices/:deviceId

Stop push notifications for the given device. Call this on sign-out. Returns 404 for devices registered by another app or owned by another user.

AuthLogin required

Path parameters

deviceIdstringrequired

Device ID.

Response

FieldTypeDescription
idstringID 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-..."
}