Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

`multipass delete` command

See also: recover, purge

The multipass delete command deletes the instances or snapshots that are specified as arguments.

You can provide multiple arguments in the same delete command, including both instances and snapshots; for example:

multipass delete --purge legal-takin calm-squirrel.snapshot2

Deleted instances are marked as such and removed from use, but you can still recover them using the multipass recover command, unless you used the -p/--purge option to delete them permanently.

To completely destroy instances and release the disk space they take up, use the --purge option or the multipass purge command.

When you delete a snapshot, or when you delete an instance using the GUI client, Multipass removes them permanently (even if you didn’t use the --purge option) and they cannot be recovered.

The --all option will delete all instances and their snapshots. Take care if using this option.


The output of multipass help delete explains the available options:

Usage: multipass delete [options] <instance>[.snapshot] [<instance>[.snapshot] ...]
Delete instances and snapshots. Instances can be purged immediately or later on,
with the "purge" command. Until they are purged, instances can be recovered
with the "recover" command. Snapshots cannot be recovered after deletion and must be purged at once.

Options:
  -h, --help     Displays help on commandline options
  -v, --verbose  Increase logging verbosity. Repeat the 'v' in the short option
                 for more detail. Maximum verbosity is obtained with 4 (or more)
                 v's, i.e. -vvvv.
  --all          Delete all instances and snapshots
  -p, --purge    Permanently delete specified instances and snapshots
                 immediately

Arguments:
  name           Names of instances and snapshots to delete

Errors or typos? Topics missing? Hard to read? Let us know or open an issue on GitHub.

Last updated a month ago. Help improve this document in the forum.