Revoke API key
DELETE/api/workspaces/:workspaceId/api-keys/:keyId
Authentication: requires a logged-in workspace-member session. API keys (workspace or the instance master key) are NOT accepted for this operation.
Revokes (deletes) a workspace API key. Session-only — API keys cannot revoke keys.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Revoke API key
Validation error
Missing or invalid credentials
Insufficient permissions
API key not found.