Update an API key
PUT/api/v1/api-keys/:api_key_id
Updates an API key's name, project scope, or policies. 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