SnozeDevelopers
API referenceNotifications

Revoke a device's push registration

Marks the caller's active registration for one installation revoked so it stops receiving push notifications, and reports whether a row was actually revoked. Naturally idempotent: a second call reports `revoked: false`. Requires a Clerk session with a synced profile.

POST
/v1/me/push-devices/revoke
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/me/push-devices/revoke" \  -H "Content-Type: application/json" \  -d '{    "installationId": "7a1bf939-4d70-4439-9ced-a3dbbce12bd7"  }'
{  "data": {    "installationId": "7a1bf939-4d70-4439-9ced-a3dbbce12bd7",    "revoked": true  }}