Skip to main content
PATCH
Update API key

Authorizations

Authorization
string
header
required

Management key created in the console. read scope reads; write scope also changes API keys. Inference API keys are not accepted.

Path Parameters

id
string
required
Pattern: ^[A-Za-z0-9-]{1,80}$

Body

application/json
name
string
Required string length: 1 - 60
memberName
string | null
Maximum string length: 80
memberEmail
string | null
Maximum string length: 200
expiresAt
integer<int64> | null

Future Unix timestamp in milliseconds; null clears expiry.

defaultTags
object
allowedModels
string[] | null

Exact model IDs or provider/* rules; null allows all enabled workspace models. An empty array is invalid.

Required array length: 1 - 50 elements

Response

Successful response.

ok
boolean
required