Skip to main content

Rotate an API Key

POST 

/api/v1/enterprise/api-keys/:keyId/rotate

Deactivates the old key and generates a new raw key with the same configuration.

Request

Responses

OK

Response Headers
    X-RateLimit-Limit

    The maximum number of requests you're permitted to make per hour.

    X-RateLimit-Remaining

    The number of requests remaining in the current rate limit window.

    X-RateLimit-Reset

    The time at which the current rate limit window resets in UTC epoch seconds.