groups:delete
groups family
Delete groups you own, one or many (at most 25 to look at, a handful to delete in one call), after archiving what they hold. Dry by default: dryRun answers, per group, how many rows each table holds, the groups below it, paid orders and public wallet addresses, and says which groups would be REFUSED and why. A real delete (dryRun false) needs `confirm` to equal the slugs joined by commas, or their count. Refused always: group `one`, the owner of the platform group, every root owner, your own home group, anything outside your tree, a group with a group below it that is not in the same selection (delete the deepest first), a group that made another group (an agent that is a group of its own) which is not in the same selection, and a group with a live paid order (named). Everything the group holds goes in ONE batch together with a `deleted_groups` row that keeps the rows (never a credential), so the delete is recorded and not undone by a half-finished write. Only a signed-in web session proceeds after confirm; an agent, a key (a person's own key too) or a workflow step is ASKED for the fingerprint of the person who owns the groups (fingerprint_required with approve.url, then call again with fingerprint_code), and groups that answer to different people are refused as mixed_owners. Not undone here: the archive keeps the rows, but nothing puts a group back, and the graph edge is cut after the answer.
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- update_group
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Authority action
- delete_group
- Also gated per node — the caller must be permitted this action over the workspace it names.
- Cost
- free
- What one call costs, so you can budget before acting.
- Reversible
- no
- This cannot be undone. Dry-run it first where the contract allows.
- Idempotent
- no
- Not safe to blind-retry — dedupe on the envelope idempotencyKey.