VPS: Virtual machine
Recreate virtual machine
Recreate a virtual machine from scratch.
The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted.
Password Requirements
Password will be checked against leaked password databases. Requirements for the password are:
- At least 12 characters long
- At least one uppercase letter
- At least one lowercase letter
- At least one number
- Is not leaked publicly
This operation is irreversible and will result in the loss of all data stored on the virtual machine!
Use this endpoint to completely rebuild VPS instances with fresh OS installation.
post/api/vps/v1/virtual-machines/{virtualMachineId}/recreate
Path parameters
virtualMachineIdinteger required
Example:1268054
Virtual Machine ID
Request body
Example request
{
"template_id": 1130,
"password": "oMeNRustosIO",
"panel_password": "Mna58c17a4d",
"post_install_script_id": 6324
}Response
Success response
Example response
{
"id": 8123712,
"name": "action_name",
"state": "success",
"created_at": "2025-02-27T11:54:00Z",
"updated_at": "2025-02-27T11:58:00Z"
}