Account

Cancel a pending workspace invitation

Withdraws an invitation that has not been accepted. Only a workspace Owner or Admin can cancel.

post/api/v1/account/workspace-invites/{id}/cancel

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/account/workspace-invites/{id}/cancel
  • Auth: HTTP bearer

Path parameters

idstring required

The invitation's id, from listWorkspaceInvites.

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 invitation was cancelled.

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.