infomaniak_cancel_user_pending_invitations
Cancel a user's pending account invitations using a two-phase commit to delete only invitations still pending when applied.
Instructions
Cancel pending account invitations for a user. Two-phase commit: first call returns the pending invitation list and confirmation token; second call deletes only invitations still pending in the fresh apply prefetch.
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": {
"account_id": "<account_id>",
"user_id": "<user_id>"
},
"name": "infomaniak_cancel_user_pending_invitations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Infomaniak account user ID. | |
| account_id | Yes | Infomaniak account/organization ID. | |
| confirmation_token | No | Token returned by the plan phase. Required to apply cancellations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||