Reinstall
This endpoint reinstalls the operating system on the specified KVM VPS.
The api_host
parameter, obtained from the “Create AUTH-session” response,
is dynamically set in the URL.
Provide the signature
, kvm_id
, valid_until
, and other required parameters
to execute the reinstallation.
Body
The session signature obtained from the "Create AUTH-session" call.
"session_signature_12345"
The unique identifier of the KVM VPS to reinstall.
This value is specific to your VPS.
"kvm_xxxxx_yyyyy"
The expiration timestamp for the session, as obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.
"2025-01-12T15:30:00Z"
The name of the operating system image to install.
Use the get autoinstall images
endpoint to retrieve available images.
"debian-bullseye"
The root password for the new installation.
"your-password"
(Deprecated) An optional SSH public key to configure for root access.
Use cloud-init user data for advanced configurations.
"ssh-rsa AAAAB3Nza..."
(Deprecated) An Optional script to execute after the installation completes.
Use this for post-installation tasks.
"#!/bin/sh\necho Hello World"
Optional configuration for images supporting cloud-init.
Refer to the Cloud-init documentation for details.
"#cloud-config\nset_hostname: YOUR_HOSTNAME\nuser: root\npassword: YOUR_ROOT_PASSWORD\nssh_pwauth: True\nmanage_etc_hosts: true\n"
Response
The status of the operation.
"success"
Was this page helpful?