Revoke an invite link
appInvitesRevokeTurn ONE invite link off, named by the id appInvitesList returned (never the link or its token). Requires confirmed: true, representing the human’s agreement that THIS link should stop working; without the literal nothing is sent. Read outcome: revoked means it was active and no longer lets anyone in; redeemed means someone already opened it, so there was nothing to revoke — the person who opened it keeps their pass until it expires (up to 30 days), because a pass is a signed cookie the gateway set, not a session Tofu can end; not_found means nothing was there, so repeating a revocation is safe. Read appInvitesList afterwards to see what remains.
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": {
"projectId": "<projectId>",
"inviteId": "<inviteId>",
"confirmed": "<confirmed>"
},
"name": "appInvitesRevoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inviteId | Yes | ||
| confirmed | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| message | Yes | ||
| outcome | Yes |