VPS_recreateVirtualMachineV1
Reinstall the operating system and reset a virtual machine to its initial state. All data and snapshots are permanently deleted.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | |
| template_id | Yes | Template ID | |
| panel_password | No | Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response. | |
| virtualMachineId | Yes | Virtual Machine ID | |
| post_install_script_id | No | Post-install script to execute after virtual machine was recreated |