vm_destroy
Destroy a sandbox virtual machine and release its ports, with an option to save or discard the filesystem snapshot.
Instructions
Destroy a sandbox and free its ports. By default the VM filesystem is saved as a snapshot so recreating with the same label resumes where you left off. Set save_snapshot to false to destroy without saving (e.g. when the VM contains sensitive data the user does not want persisted). Use vm_reset to also delete any previously saved snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sandbox id from vm_create | |
| save_snapshot | No | Whether to save a snapshot before destroying. Defaults to true. |