Rotate master key

View as Markdown

Replace the underlying API key. Cooldown: 1 minute between rotations. Owner or admin.

Path parameters

idstringRequired
Master key UUID

Headers

AuthorizationstringRequired

Bearer {access_token}

X-Workspace-IdstringRequired
Workspace UUID

Request

apiKey (new key, 20-500 chars)

apiKeystringRequired

Response

data: id, maskedKey, status, rotatedAt

idstring
maskedKeystring
rotatedAtstring
statusstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error