Skip to main content
POST
Upload and replace qcow2

Body

application/x-www-form-urlencoded

Required parameters to upload and replace the qcow2 image.
All parameters must be passed in the request body as application/x-www-form-urlencoded or as file upload where specified.

signature
string

The session signature obtained from the "Create AUTH-session" call.

Example:

"session_signature_12345"

kvm_id
string

The unique identifier of the KVM VPS where the qcow2 image will be replaced.
This value is specific to your VPS.

Example:

"kvm_xxxxx_yyyyy"

valid_until
string

The expiration timestamp for the session, as obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.

Example:

"1737476000"

yes_purge_all_my_data
integer

Confirmation to purge all data on the VPS.
This parameter must be set to 1 to proceed.

Example:

1

file
file

The qcow2 file to upload.
Provide the full path to the file.

pw
string

The new root password for the VPS.
Used if cloud-init is enabled.

Example:

"new-root-password"

cloudinit_user_data
string

Optional cloud-init configuration for the VPS.
See Cloud-init Documentation for examples.

Example:

"#cloud-config\nuser: root\npassword: \"new-root-password\"\nssh_pwauth: True\n"

Response

The qcow2 image was successfully uploaded and replaced on the VPS.

status
string

The status of the operation.

Example:

"success"

Last modified on December 17, 2025