Skip to main content
Update an existing API key

Tool details

FieldValue
Nameupdate_api_key
GroupAPI Keys

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "api_key_id": {
      "type": "string",
      "description": "API key ID"
    },
    "name": {
      "type": "string",
      "description": "New name for the API key"
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "New expiration date (null to remove)"
    }
  },
  "required": [
    "api_key_id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the update_api_key tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the returned record."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name for the returned record."
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "The expires at associated with this tool result."
    }
  },
  "required": [
    "id",
    "name",
    "expires_at"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the update_api_key tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}