v12

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-1811583196.1 KB
API Keys

Update API key

Update an API key's name, expiry, rate-limit tier, or active flag. Permissions cannot be changed via this endpoint — change the role assigned to the key instead, or rotate to a new key.

patch/api/v1/api-keys/{id}

Path parameters

idstring uuid required

API key ID (UUID)

Request body

namestring
rate_limit_tier'standard' | 'high'
expires_atstring date-time
is_activeboolean

Response

API key updated

successboolean

Example response

{
  "data": {
    "key_prefix": "raff_17d70fcf"
  }
}