Update an API key
Update a key's name, disabled state, or spend limit. Only the fields you send change.
A management key (prefixed mgmt_), created in the dashboard under Settings, API keys, Management keys. Distinct from a regular gateway API key, and never used to call models.
The key’s hash from a create or list response.
Set true to disable the key, false to re-enable it.
Stable identifier for the key. A one-way hash, not the secret, so it is safe to store and log. Use it in get, update, and delete calls.
Display label (the key’s public prefix, e.g. mg_8Kx2pQ). Not the secret.
User-set name for the key.