API Keys

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}

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/api-keys/{id}
  • Auth
    API key in header X-API-Key

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"
  }
}

Changes