snapshot_delete
Delete a ZFS snapshot by its ID (dataset@name) to free storage space. Preview with dry_run before permanent deletion.
Instructions
[WRITE] Delete a ZFS snapshot by id ('dataset@name'). IRREVERSIBLE. Pass dry_run=True to preview.
Captures the snapshot's prior state for the audit record; declares no undo.
Args: snapshot_id: Full snapshot id 'dataset@name' (see snapshot_list). dry_run: If True, preview without deleting. target: TrueNAS target name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| snapshot_id | Yes |