Remove hosted app guest
remove_app_guestRemove a guest from a hosted app: their access ends within the hour, and their email, phone and PIN are erased; the name stays in the list. What they did stays too, unless undo is true: then their answers are withdrawn and, for each change they made through an action that another action undoes, that undo action is run where the item has not changed since; changes made by an action nothing undoes stay. If one of those undos is refused for another reason, the guest is NOT removed and the error says why. Not reversible. Takes the guest token from list_app_guests. Requires write scope and permission to edit the folder the app shows.
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": {
"slug": "<slug>",
"guest_token": "<guest_token>"
},
"name": "remove_app_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the app, from list_apps | |
| undo | No | Also withdraw the guest's answers and run the undo actions for their changes | |
| guest_token | Yes | The guest's `token`, from list_app_guests | |
| organization | No | Workspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one. |