Replace qcow2
This endpoint uploads and replaces the current qcow2 image on the specified KVM VPS.
Warning: All data on the VPS will be permanently lost if this operation is performed.
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 confirm data replacement by including yes_purge_all_my_data
parameter.
Body
The session signature obtained from the "Create AUTH-session" call.
The unique identifier of the KVM VPS where the qcow2 image will be replaced.
This value is specific to your VPS.
The expiration timestamp for the session, as obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.
Confirmation to purge all data on the VPS.
This parameter must be set to 1
to proceed.
The qcow2 file to upload.
Provide the full path to the file.
The new root password for the VPS.
Used if cloud-init is enabled.
Optional cloud-init configuration for the VPS.
See Cloud-init Documentation for examples.
Response
The status of the operation.
Was this page helpful?