Account
Revoke an API key
Revokes the key. It stops working right away.
delete/api/v1/account/keys/{id}
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/account/keys/{id}
- Auth: HTTP bearer
Path parameters
idstring required
The key's id, from listApiKeys or createApiKey.
Headers
X-Dotsy-Workspacestring
Org id or slug to act as for this request (session/MCP user actors only — ignored for pga_ keys). Validated against the caller's own memberships (id match first, then slug); 403 if not a member. Takes precedence over session.activeOrganizationId and the auto-provisioned home-workspace fallback.
Response
The key was revoked.
Changes
No recorded changes to this operation across all 1 revision of this API.