Skip to main content

Update an API key

PUT 

/api/v1/api-keys/:api_key_id

Updates an API key's name, project scope, or policies. The project scope can be changed to another project, set (scoping a previously unscoped key), or cleared with null (unscoping the key). Only the owner or an admin can update it. A project-scoped credential can only update keys in its own project, and cannot move a key to another project or unscope it.

Request

Responses

API key updated successfully