How to Destroy a MicroVM
Last verified 17 Nov 2026
DigitalOcean MicroVMs are lightweight virtual machines that run a container image in an isolated kernel, pause automatically when idle, and resume on the next request with memory, files, and processes intact.
Destroying a DigitalOcean MicroVM permanently deletes the MicroVM and the data on its disk. It also revokes the MicroVM’s access tokens, removes its URLs, and removes it from its project.
Its checkpoints are not deleted. However, if the MicroVM has environment variables or outbound credentials, you cannot create MicroVMs from its checkpoints after you destroy it. For details, see MicroVM Checkpoints. To delete checkpoints, see How to Checkpoint a MicroVM.
You cannot destroy a MicroVM while it is still being created or while a checkpoint of it is being captured. Wait for the operation to finish, then try again.
Destroy a MicroVM Using the Control Panel
Go to the MicroVMs page, select the MicroVM, click the Settings tab, then click Destroy. You can also open the MicroVM’s … menu on the MicroVMs page and click Destroy.
In the Destroy MicroVM window, type the MicroVM’s name into the field, then click Destroy.
Destroy a MicroVM Using doctl
Delete the MicroVM. You can pass more than one MicroVM ID. The command prompts for confirmation, and --force skips the prompt.
Destroy a MicroVM Using the API
Send a DELETE request to /v2/microvms/<your-microvm-id>.
A successful request returns HTTP 204. The request returns HTTP 400 while the MicroVM is being created or a checkpoint of it is being captured.