Skip to main content
POST
Rotate/Regenerate an API Key

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Path Parameters

id
string<uuid>
required

The unique UUID of the API Key to regenerate.

Response

API key regenerated successfully

id
string<uuid>
required

Unique API Key identifier.

name
string
required

Human-readable name of the key.

key
string
required

The fully generated secure raw API Key string. This is returned ONLY ONCE.

Example:

"ak_7f9ba3271cf881309d9be8c9c0fcae47a95b8d29c3f0b2da8e89cf21e5c3df01"

operation
string
required
created_at
string<date-time>
required

Timestamp of creation.