Rotate an API key
API keys
Rotate an API key
Creates a replacement key and schedules revocation of the old key. Requires api_keys:manage.
POST
Rotate an API key
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Replacement key with one-time secret
Allowed value:
"api_key"Available options:
live, test Returned only when a key is created or rotated.
Returned only when a key is rotated.