Skip to content
Console
Menu

Alerts and status pages

App store purchases

Credits

Knowledge

KV

Notifications

Organizations

Storage

Workflows

API reference

Getting Started

Authentication

KV Store

Unregister push device on a recipient

Unregisters only the device identified by the registration receipt.

Unregisters only the device identified by the registration receipt. A missing registration is already unregistered and succeeds.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/recipients/recipient:unregisterPushDevice
  • Scope notify:write
  • Effect write — a successful call changes state.
  • Collection recipients

#Request

FieldTypeWhat it is
namestringThe recipient whose receipt is being unregistered. Required.
registration_idstringThe receipt returned by RegisterPushDevice. Required.
registration_generationint64Delete only this registration epoch. A stale logout is an idempotent no-op, never removal of a newer registration. Send the receipt's exact JSON string. Required.

#Response

The call answers with an empty object.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/recipients/recipient:unregisterPushDevice" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"registration_generation":1,"registration_id":"…"}'