VPS_setupPurchasedVirtualMachineV1
Configure and initialize a purchased VPS instance with a template, data center, and optional settings such as SSH key, hostname, backups, or password.
Instructions
Setup newly purchased virtual machine with initial state.
Use this endpoint to configure and initialize purchased VPS instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| virtualMachineId | Yes | Virtual Machine ID | |
| template_id | Yes | Template ID | |
| data_center_id | Yes | Data center ID | |
| post_install_script_id | No | Post-install script ID | |
| password | No | Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | |
| hostname | No | Override default hostname of the virtual machine | |
| install_monarx | No | Install Monarx malware scanner (if supported) | |
| enable_backups | No | Enable weekly backup schedule | |
| ns1 | No | Name server 1 | |
| ns2 | No | Name server 2 | |
| public_key | No | Use SSH key |