Skip to main content

Rotate an API key's secret

POST 
/auth/api_keys/:id/rotate_secret

Replaces an API key's secret with the backup secret. If no backup secret is set, the secret will be replaced with a newly generated value.

Request

Path Parameters

    id stringrequired

    The id of the API Key

Responses

200: Successful response

401: Authentication error

403: Authorization error

404: Resource not found

Loading...