v8
OpenAPI 3.1.02026-08-033623795.0 MBAPI Keys
Rotate API Key
Rotates the API key's secret, invalidating the previous secret immediately. The response is the only place the new secret_key is returned.
post/api_keys/{id}/rotate
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Response
api key rotated
Example response
{
"system_role": "owner"
}