Rensei docs
API ReferenceNotifications

Revoke a push device token owned by the authenticated user.

Soft-revokes a device token by `id` or `token`. The revoke is bounded by the caller user id, so a foreign token is a silent no-op.

DELETE
/api/notifications/devices

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/api/notifications/devices" \  -H "Content-Type: application/json" \  -d '{}'
{
  "revoked": 0
}
Empty
Empty
Empty