Update an API key
Updates mutable fields of an API key: display name, status (active / disabled / revoked), permission mode and access map, project scope, and constraints (budget / rate limit / expiry). Omitted fields keep their current values.
Documentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
API key id to update.
Body
API key id to update.
New name. Omit to keep current.
New lifecycle status. Omit to keep current.
New permission preset. Omit to keep current.
Replacement access map. Required when changing to RESTRICTED; ignored otherwise. Provide an empty map to clear.
New project scope. Omit to keep current.
Replacement constraints. Omit to keep current. Provide an empty ApiKeyConstraints message to clear all constraints.
Response
OK
Updated api-key.