Cancel a pending invitation
cancel_workspace_invite
Withdraws an invitation that has not been accepted yet, so its link stops working.
Scopemembers:writeDestructive
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.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
workspaceId |
string | Yes | The workspace id. |
inviteId |
string | Yes | The invitation id, from list_workspace_members. |