delete_group
Permanently delete a Splitwise group by ID or name. Confirm=true executes deletion; otherwise it previews the group and members for confirmation before deleting.
Instructions
Permanently delete a Splitwise group.
Identify the group with group_id or group_name. Without
confirm=true, this previews the group and its members and asks for
confirmation before deleting. Use undelete_group to restore it.
Calling this again on a group a prior call already deleted is a
no-op: looking the group up by group_id comes back not-found, and
that is treated as already deleted rather than a hard failure. A
group_name that no longer matches anything is not given that
benefit of the doubt, since there is no way to tell "deleted" apart
from "never existed" or "misspelled" by name alone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| group_id | No | ||
| group_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name the group had at the time of deletion. None when the group was already gone before this call, so its name could not be looked up. | |
| group_id | Yes | Id of the group the deletion applies to. | |
| already_deleted | Yes | True if the group was already deleted before this call, so no delete request was sent. |