Delete an API key
DELETE/api/v1/api-keys/:api_key_id
Deletes an API key. Only the owner or an admin can delete it, and a project-scoped credential can only delete keys in its own project.
Request
Responses
- 204
- 401
- 403
- 404
API key deleted successfully
Unauthorized
Forbidden (not the key owner or admin, or the credential is scoped to a different project)
API key not found