splitwise_delete_group
Delete a Splitwise group and all its expenses for every member. Confirm the group ID first; deletion is destructive and can be undone.
Instructions
Delete a group and all its expenses — for every member, not just you. 🔒 destructive write.
Calls POST /delete_group/{id}. Splitwise destroys the group's associated records:
every expense in it disappears for all members. Refused with
Error: … writes are disabled unless SPLITWISE_ALLOW_WRITES=1. Undo:
splitwise_undelete_group with the same id restores the group and its expenses.
When to Use:
Only when the user explicitly asked to delete this group. Confirm the id first with
splitwise_get_group, and runsplitwise_get_expenseswith group_id so the user knows how many expenses will go with it.
When NOT to Use:
To leave a group or drop one member (use
splitwise_remove_user_from_group).To delete a single expense (use
splitwise_delete_expense).With a group NAME — resolve it to an id first (use
splitwise_resolve_group).
Returns:
A confirmation with the success value Splitwise returned and how to undo it — or, when
the body does not say success: true, a note to verify before reporting it as deleted.
Examples:
params = {"group_id": 12345}
Error Handling:
A refusal that comes back as HTTP 200 with success: false is reported as
Error: Splitwise rejected the request ...; 403 → not a member; 404 → wrong id or already deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |