v5

latestOpenAPI 3.1.02026-08-04166362486.5 KB
api_keys

Update API key

Update a specific API key by its ID.

Args: api_key_id: The ID of the API key to update. params: The parameters to update.

Returns: ApiKey: The updated API key details.

patch/v1/api-keys/{api_key_id}

Path parameters

api_key_idstring uuid required

The ID of the API key to update

The ID of the API key to update

Request body

namestring nullable

A name/description for the API key

expires_atstring date-time nullable

Optional expiration datetime

Response

The updated API key details

idstring required

The ID of the API key

namestring required

The name of the API key

redacted_valuestring required

The redacted value of the API key

expires_atstring date-time nullable

The expiration datetime of the API key

created_atstring date-time required

The creation datetime of the API key

updated_atstring date-time required

The last update datetime of the API key

last_active_atstring date-time nullable

The last active datetime of the API key

object'api_key'

The type of the object