API Keys
Rotate an API key
Rotate an API key's token. The old token is invalidated and the new full token is returned once — store it immediately. You may rotate your own key; rotating another member's key requires API-key management permission.
post/v1/api-keys/{uuid}/rotate
Path parameters
uuidstring uuid required
UUID of the API key to rotate.
Response
The API key was rotated. The new full token is returned once.
Example response
{
"uuid": "d1e2f3a4-b5c6-7d80-9e1f-2a3b4c5d6e7f",
"name": "default",
"environment": "sandbox",
"role": "owner",
"created_at": "2026-07-02T23:51:58.746686+00:00",
"token": "sk_live_3f9a1c...s9Zx",
"note": "Save this API key now. It will not be shown again."
}