Skip to main content
POST
Revoke a token

Authorizations

Authorization
string
header
required

User PAT (cliq_tok_…, including session-scoped) or realm token (cliq_dt_…).

Body

application/json
type
enum<string>
required

Must match the stored token type

Available options:
user,
realm,
daemon
token_id
required

The token's id.

Minimum string length: 1
realm_id
string

Realm admin may revoke a realm token they do not own when this is set

Minimum string length: 1

Response

Success.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required