Skip to main content
POST
Rotate API Key

Authorizations

Authorization
string
header
required

API key or JWT token

Path Parameters

id
string
required

The API key id (not the bearer secret)

Response

The replacement key. key is the bearer secret, shown only once.

key
string

The replacement key's full bearer credential. Shown exactly once; store it securely.

Example:

"BEARER_SECRET_SHOWN_ONCE"

api_key
object
revoked_api_key_id
string

The id of the key that was revoked by this rotation.