# cancel_workspace_invite

Source: https://modulify.ai/docs/mcp/workspaces/cancel-workspace-invite

Withdraws an invitation that has not been accepted yet, so its link stops working.

- Title: Cancel a pending invitation
- Scope: `members:write`
- Access: Destructive

The person is not told. Inviting them again issues a fresh invitation rather than reviving this one.

It needs the **Manage members** permission (`members.manage`). An invitation that was already accepted is refused with `This invite was already accepted!`, and someone who has joined is taken out with `remove_workspace_member` instead. See [Members and roles](https://modulify.ai/docs/reference/members-and-roles#resend-cancel-and-remove).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `workspaceId` | string | Yes | The workspace id. |
| `inviteId` | string | Yes | The invitation id, from `list_workspace_members`. |