Tokens
Rotate API Key
Revokes the old key and returns a new one with identical name, scopes, environment and expiry. Clerk session auth.
POST
Rotate API Key
Authorizations
API key in the Authorization header: Bearer qr_live_… or Bearer qr_test_…. Token endpoints take a Clerk session JWT instead.
Body
application/json
Response
New API key (full key shown once)
Example:
"key_aB3dE5fG7hI9jK1m"
Example:
"api_key"
Example:
"qr_live_a1b2"
Available options:
live, test The full API key — shown only once.
Rotate API Key

