> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/vps/virtual-machine/restart-virtual-machine.md).

# Restart virtual machine

Restart a specified virtual machine by fully stopping and starting it. If the virtual machine was stopped, it will be started. Use this endpoint to reboot VPS instances.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/vps/v1/virtual-machines/{virtualMachineId}/restart" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
