delete_collective
Permanently remove a collective from the trash, with an option to also delete its team and team folder. Requires it be in trash first; irreversible, all pages are erased.
Instructions
Permanently delete a collective from the trash.
The collective must be in the trash first (use trash_collective). This action is irreversible: all pages are permanently removed.
Args: collective_id: The numeric collective ID. delete_team: Also delete the team (circle) behind the collective, with every membership and anything shared with the team. Needs you to own the team; otherwise nothing is deleted. The team goes even if it existed before the collective. With false (default) it stays as an ordinary team. delete_team_folder: Deleting the team also deletes its team folder (Nextcloud 35+ with the Team folders app, which gives new collectives' teams one) and every file in it. With delete_team, the tool refuses if the team has a team folder unless this is true.
Returns: Confirmation message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delete_team | No | ||
| collective_id | Yes | ||
| delete_team_folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |