Skip to main content

Rotate an API key

POST 

/v1/api-keys/:api_key_id:rotate

Issues a new secret for the same key record (same id, scope and capabilities) and invalidates the previous secret. The new raw key is returned only in this response.

Request

Responses

Rotated. The new raw key value is only returned here.