v2

latestOpenAPI 3.0.4Commercial License2026-08-0718678294.5 KB
API Key Management

Roll (Regenerate) API Key

Regenerate the token for an API key. The key ID stays the same but gets a new token. The old token is immediately invalidated.

post/v1/api-keys/{id}/roll

Path parameters

idstring uuid required
Example:018f47a2-4d4d-7a44-9fa4-123456789abc

Resource identifier.

Response

Token regenerated

statusstring

Example response

{
  "status": "success",
  "data": {
    "api_key": {
      "token_hint": "a1b2c3d4"
    }
  }
}