Skip to main content

Rotate an API key

POST 

/v1/organizations/:org/api-keys/:key/rotate

Issues a replacement with the same name, member and expiry. The old key is revoked at once, or keeps working for grace_seconds (at most 7 days) so automation can switch over.

Request​

Responses​

The new key