Rotate master key
Replace the underlying API key. Cooldown: 1 minute between rotations. Owner or admin.
Path parameters
id
Master key UUID
Headers
Authorization
Bearer {access_token}
X-Workspace-Id
Workspace UUID
Request
apiKey (new key, 20-500 chars)
apiKey
Response
data: id, maskedKey, status, rotatedAt
id
maskedKey
rotatedAt
status
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error