Flambe docs
API referencePush tokens

Unregister a device

Call this on sign-out so the device stops receiving pushes.

DELETE
/api/push-tokens/{token}

Call this on sign-out so the device stops receiving pushes.

Authorization

bearerAuth
AuthorizationBearer <token>

A Clerk session JWT. Obtain one with a Clerk frontend SDK (session.getToken()) or, for server-to-server use, with a Clerk machine token. The token's sub claim is the Flambe user id that scopes every request.

In: header

Path Parameters

token*string

The device token, URL-encoded.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/push-tokens/string"
{  "success": true}