Revoke an invitation
company_invite_revokeRevokes a pending invitation so its link stops working immediately. Owners and admins (admins only for member or viewer invitations). Call without confirm first for a preview, then again with confirm and the preview_token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company": "<company>",
"invitation": "<invitation>"
},
"name": "company_invite_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | Yes | Company ref (CO-XXXXXXXX) from company_list_mine. | |
| confirm | No | Set true only on the second call, after the user approved the preview. | |
| invitation | Yes | Invitation ref (IV-XXXXXXXX) from company_invitations_list. | |
| preview_token | No | The preview_token returned by the first call (same input). |