Skip to main content
POST
Rotate API key

Authorizations

Authorization
string
header
required

API key in the format dk_live_.... Pass as Authorization: Bearer dk_live_...

Body

application/json
label
string

Optional new label for the key

Maximum string length: 64

Response

200 - application/json

New API key

apiKey
string

Your new API key. The old key is now revoked.

Example:

"dk_live_f6e5d4c3b2a1f6e5d4c3b2a1f6e5d4c3"