v11

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-017364211.0 KB
API Keys

Update API Key

Updates an existing API key's permissions and IP restrictions. The API key name and expiration date cannot be modified after creation.

patch/api-keys/{id}

Path parameters

idstring required

The unique identifier of the API key to update

Request body

permissionsstring[] required

List of permissions granted to this API key

Response

API key updated successfully

idstring

Unique identifier for the API key

namestring

Human-readable name for the API key

permissionsstring[]

List of permissions granted to this API key

allowed_ipsstring[]

List of allowed IP addresses or CIDR ranges

expiry_datestring date-time

Expiration date of the API key

created_atstring date-time

When the API key was created

created_bystring

User who created the API key

updated_atstring date-time

When the API key was last updated

updated_bystring

User who last updated the API key

last_used_atstring date-time

When the API key was last used