Skip to main content
PATCH
/
api-keys
/
{key_id}
{
  "id": "<string>",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "last_used_at": "2023-11-07T05:31:56Z",
  "is_active": true
}

Path Parameters

key_id
string
required

Body

application/json
name
string
required

Response

Successful Response

Represents an API key for authentication (without exposing the actual key).

id
string
required

Unique API key identifier with 'apikey_' prefix

created_at
string<date-time>
required

When this API key was created

is_active
boolean
required

Whether this API key is currently valid and can be used

name
string | null

Optional descriptive name for this API key

last_used_at
string<date-time> | null

When this API key was last used for authentication

I