{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-update-api-key-request-schema.json",
  "title": "UpdateApiKeyRequest",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anthropic-api-keys-api-openapi.yml#/components/schemas/UpdateApiKeyRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Updated display name for the API key"
    },
    "status": {
      "$ref": "#/$defs/ApiKeyStatus"
    }
  },
  "$defs": {
    "ApiKeyStatus": {
      "type": "string",
      "enum": [
        "active",
        "inactive",
        "archived"
      ],
      "description": "Current status of the API key"
    }
  }
}