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 but never cleared. Only the owner or an admin can update it.
Request
Responses
- 200
- 400
- 401
- 403
- 404
API key updated successfully
Bad request (invalid project or policy IDs)
Unauthorized
Forbidden (not the key owner or admin)
API key not found