Skip to main content
Rotate an API key

Autorisations

Authorization
string
header
requis

The access token (JWT) of a signed-in console user, from POST /v1/auth/login. It lasts 30 minutes. It is not an API key: a partner API key is refused here. There is no cookie.

Paramètres de chemin

key_id
string<uuid>
requis

Corps

application/json
grace_hours
integer
défaut:24
Plage requise: 0 <= x <= 168

Réponse

OK

The successor key (secret shown once) and the key it replaces.

key
object
requis
raw_key
string
requis
previous
object
requis