# qcow2_snapshot_delete

Delete a snapshot from a qcow2 disk image.

```rhai
qcow2_snapshot_delete(path, name) -> ()
```

## Parameters

- `path` (string): Path to the qcow2 image
- `name` (string): Name of the snapshot to delete

## Returns

Returns nothing on success, throws error on failure.

## Examples

```rhai
// Delete a specific snapshot
qcow2_snapshot_delete("/vms/disk1.qcow2", "before-update");

// Clean up old snapshots
qcow2_snapshot_delete("/vms/disk1.qcow2", "backup-20231201");
```

## Notes

- Permanently removes the snapshot from the image
- This operation is irreversible
- Throws error if snapshot doesn't exist
- Does not affect the current state of the disk
