POST
/
kvm
/
v2
/
set
/
turnkey_reinstall
curl --request POST \
  --url https://{api_host}.edisglobal.com/kvm/v2/set/turnkey_reinstall \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data signature=session_signature_12345 \
  --data kvm_id=kvm_xxxxx_yyyyy \
  --data valid_until=2025-01-12T15:30:00Z \
  --data image=turnkey-owncloud-16.1-buster
{
  "status": "success"
}

Body

application/x-www-form-urlencoded
Required parameters to reinstall the operating system using a turnkey image. All parameters must be passed in the request body as `application/x-www-form-urlencoded`.
signature
string

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

kvm_id
string

The unique identifier of the KVM VPS to reinstall.
This value is specific to your VPS.

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.

image
string

The name of the turnkey image to reinstall.
Use the get autoinstall images endpoint to retrieve available turnkey images.

Response

200
application/json
The operating system was successfully reinstalled using the specified turnkey image.
status
string

The status of the operation.

Was this page helpful?