Management
Update a runtime key
Authorization
managementKey AuthorizationBearer <token>
An issued management key (sk-dz-…). One credential type across inference and management: scopes are properties of the issued key, set at issue time — keys:read, keys:write, usage:read, models:read. A key issued with no scopes holds all four. Each operation declares its required scope as x-required-scope.
In: header
Path Parameters
key_id*string
A runtime key id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Partial update; absent fields are left unchanged.
Response Body
application/json
curl -X PATCH "https://example.com/api/v1/keys/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "kind": "string", "disabled": true, "expires_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "policy_id": "string", "key_hint": "string"}