AIGatewayAPIKeys

Update

Update an existing AI Gateway API Key by ID

patch/ai_gateway_api_keys/{id}

Path parameters

idstring required

unique identifier for this API key

Headers

ngrok-versioninteger required

Request body

idstring

unique identifier for this API key

descriptionstring

human-readable description of this API key

metadatastring

arbitrary user-defined metadata for this API key

endpoint_idstring

unique identifier of the AI Gateway endpoint to associate this key with

Response

Update an existing AI Gateway API Key by ID

idstring

unique identifier for this API key

uristring

URI of this AI Gateway API Key API resource

created_atstring

Timestamp when the API key was created (RFC 3339 format)

updated_atstring

Timestamp when the API key was last updated (RFC 3339 format)

descriptionstring

human-readable description of this API key

metadatastring

arbitrary user-defined metadata for this API key

tokenstring

the API key token. Only provided when the key is first created.

display_namestring

n/a

last_usedstring

n/a

Changes

Changed in 1 of the 9 revisions of this API.1