跳转到主要内容
POST
POST /portal/api/keys/{id}/rotate

授权

gproxy_session
string
cookie
必填

路径参数

id
string
必填

响应

Success

A minted or rotated key. token is the only time the plaintext travels, apart from an explicit reveal of a key that retained one.

enabled
boolean
必填
expiresAtMs
integer<int64> | null
必填
hasSecret
boolean
必填

Whether the instance retained a sealed copy, i.e. whether reveal can answer for this key.

id
string
必填
name
string
必填
organizationId
string | null
必填
prefix
string
必填

The first characters of the key body, for telling two keys apart.

teamId
string | null
必填
token
string
必填