Apps

Revoke an app token (idempotent) (v2, tenant actor)

Auth: Tenant Actor

Revokes an app token by tokenId. Supports User JWT and B2B Server JWT.

delete/v2/apps/{appId}/tokens/{tokenId}

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v2/apps/{appId}/tokens/{tokenId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

appIdstring required

Target App ID. Must be an app the calling actor owns or has been delegated access to.

tokenIdstring required

Token ID returned when the token was created (or in GET /v2/apps/{appId}/tokens). Revokes the token immediately; existing sessions using it 401 on next call.

Response

ok

okboolean required
appIdstring required
tokenIdstring required
revokedboolean required
statusstring nullable

Example response

{
  "ok": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.