Skip to main content
POST
Rotate 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

Stored type for user/realm; a2a rotates the realm A2A bearer

Available options:
user,
realm,
daemon,
a2a
token_id

user / realm: the token's id.

Minimum string length: 1
realm_id
string

a2a: the realm.

Minimum string length: 1

Response

Success.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required