> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/compute/vmware-virtual-machines/how-tos/delete-virtual-machines.md).

# Delete virtual machines

***

## Delete a server using the control panel

To delete a server and all of its data, including the backups, click on the server in the control panel.&#x20;

Next, click on **Actions** and then **Delete server**.

<figure><img src="/files/rN7VZAXqVbxojE3ObBIA" alt=""><figcaption></figcaption></figure>

You then need to verify that you want to delete everything associated with the VM. To confirm, you must enter the VM's name in the text field. You also have the choice to keep the VM's IP addresses in the project once the VM is deleted. In this case, we opt to keep them. Once you are sure you want to delete the server and all of its data, click **Delete**.

{% hint style="danger" %}
All data associated with the VM will be deleted, including all backups.
{% endhint %}

<figure><img src="/files/u5zawOv1jFhXOIijOtbO" alt=""><figcaption></figcaption></figure>

## Delete a server using the API

To delete a virtual machine using the [API](/platform/control-panel/api.md), use the [server/destroy](https://github.com/GleSYS/API-docs/wiki/API-Documentation#serverdestroy) endpoint.
