Notify API reference

Notify API · Recipient-Tokens

post/v1/workspaces/{workspace_id}/settings/revoke-all-tokensAuth

Revoke every recipient token

Every recipient token of the workspace stops working on its next call (`401 RECIPIENT_TOKEN_INVALID`), open real-time streams included; your apps get a new token from your backend. Use it after a suspected leak of many tokens.

Path parameters

workspace_id*string · uuid

Id of the workspace.

Response · 204

Revoked.

Example

Request

POST https://api.notify.productcraft.co/v1/workspaces/{workspace_id}/settings/revoke-all-tokens
Authorization: Bearer YOUR_TOKEN