Rotate master key

以 Markdown 格式查看

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

路径参数

idstring必需
Master key UUID

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需
Workspace UUID

请求

apiKey (new key, 20-500 chars)

apiKeystring必需

响应

data: id, maskedKey, status, rotatedAt

idstring
maskedKeystring
rotatedAtstring
statusstring

错误

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