Skip to main content
POST
Disable an API key

Authorizations

gateway_session
string
cookie
required

Secure same-origin browser session cookie.

Path Parameters

api_key_id
string<uuid>
required

Response

Successful Response

id
string
required
name
string
required
workload
string | null
required
project_id
string
required
team_id
string | null
required
key_prefix
string
required
key_hint
string
required
current_version
integer
required
status
enum<string>
required
Available options:
active,
disabled,
expired
created_at
string
required
expires_at
string | null
required
disabled_at
string | null
required
last_used_at
string<date-time>
required

Last authenticated use of this logical key, including model catalog and Playground access. Updated asynchronously, normally within 30 seconds; null means no use has been recorded. Preserved across secret rotation.

object
string
default:gateway.api_key
Allowed value: "gateway.api_key"