Actions100
- Billing Actions
- DNS Actions
- Domain Actions
- Domain Forwarding Actions
- Domain WHOIS Actions
- Reach Actions
- VPS Actions
- VPS Actions Actions
- VPS Backups Actions
- VPS Data Centers Actions
- VPS Docker Manager Actions
- VPS Firewall Actions
- VPS Malware Scanner Actions
- VPS Post Install Scripts Actions
- VPS PTR Actions
- VPS Public Keys Actions
- VPS Snapshots Actions
- VPS Templates Actions
VPS → Recreate
AI-generatedOverview
This node operation allows users to recreate a VPS (Virtual Private Server) using the Hostinger API. It is useful for scenarios where a VPS needs to be reset or reinstalled with a specific OS template, optionally running a post-install script and setting new root and panel passwords. For example, a user can automate the process of recreating a VPS with a fresh OS template and secure passwords after a critical failure or before repurposing the server.
Use Case Examples
- Recreate a VPS with a new OS template and set a new root password.
- Recreate a VPS and run a post-install script to configure the server automatically.
Properties
| Name | Meaning |
|---|---|
| Virtual Machine ID | The unique identifier of the VPS to be recreated. |
| Template ID | The ID of the OS template to use for recreating the VPS. |
| Root Password | The root password for the VPS, which must be at least 12 characters long and include uppercase, lowercase, and a number. |
| Panel Password | The control panel password for the VPS, which must be at least 12 characters long and include uppercase, lowercase, and a number. |
| Post Install Script ID | Optional ID of a post-install script to run after the VPS recreation. |
Output
JSON
response- The JSON response from the Hostinger API after the VPS recreation request.
Dependencies
- Hostinger API with authentication credentials
Troubleshooting
- Ensure the Virtual Machine ID is correct and the VPS exists.
- Verify that the Template ID corresponds to a valid OS template available in the Hostinger account.
- Passwords must meet the complexity requirements (at least 12 characters with uppercase, lowercase, and a number).
- If a post-install script ID is provided, ensure the script exists and is accessible.
- Common errors include authentication failures, invalid parameters, or network issues. Check API credentials and network connectivity.
Links
- Hostinger API - Recreate VPS - Official documentation for the VPS recreate operation in the Hostinger API.