Revoke an existing token and create a new one with the same name and scopes. The new token secret is returned only once — store it securely. The old token is immediately invalidated.
Bearer token authentication. Supports two token types:
POST /v1/auth/loginPOST /v1/api-tokens, format: cmnd_<tokenId>.<secret>The token ID to rotate
Token rotated successfully
The token secret (shown only once). Format: cmnd_
"cmnd_abc123.sk_xxxxxxxxxxxxxxxxxxxx"
"abc123"
"CI/CD Pipeline Token"
[
"chat:write",
"models:read",
"knowledgebases:read"
]