Set Configuration
This endpoint allows you to set various configuration settings for a specified KVM VPS.
Use the api_host parameter obtained from the ‘Create AUTH-session’ response to authenticate the request.
Required Parameters:
- signature: The session signature obtained from the ‘Create AUTH-session’ call.
- kvm_id: The unique identifier of the KVM VPS.
- valid_until: The expiration timestamp for the session.
- config: A JSON object containing the configuration settings.
Example Configuration:
{"boot_timeout":"5000","vnc_keymap":"en-us","cpu_model":"passthrough","disk_driver":"virtio","nw_driver":"virtio","video_driver":"cirrus","description":"[a-zA-Z\-0-9\.\_]","assigned_vlan":"your vlan id","cpu_set_cores":"core or socket","auto_hydration":100}
Body
Parameters required to configure a KVM VPS.
The session signature obtained from the 'Create AUTH-session' call.
"session_signature_12345"
The unique identifier of the KVM VPS.
"kvm_xxxxx_yyyyy"
The expiration timestamp for the session, obtained from the 'Create AUTH-session' call.
"1737476000"
JSON object containing configuration settings.
Supported values:
boot_timeout: Boot menu timeout in milliseconds (example:5000,10000)uefi:enabledordisabledtpm:enabledordisabledvnc_keymap: Keyboard layout such asen-us,en-gb,de,de-ch,fr,fr-be,fr-ch,es,it,nl,pt,sv,ru,tr, and other layouts available in the control panelcpu_set_cores:coreorsocketcpu_model:defaultorpassthroughdisk_driver:virtio,ide, orscsinw_driver:virtio,e1000, orrtl8139video_driver:cirrusorqxldescription: Custom VPS descriptionassigned_vlan: VLAN ID if VLAN service is enabledauto_hydration:off,100,500, or1000depending on available hydration packages
Example Configuration:
{"boot_timeout":"10000","vnc_keymap":"en-us","cpu_model":"passthrough","disk_driver":"virtio","nw_driver":"virtio","video_driver":"cirrus","assigned_vlan":"","cpu_set_cores":"core","auto_hydration":"off","tpm":"disabled","uefi":"disabled","description":"fortest"}⚠️ Compatibility Notice
- UEFI is disabled by default. A value of
uefi=disabledmeans the VPS will boot using legacy BIOS mode. Settinguefi=enabledswitches the VPS to UEFI boot mode. - TPM is disabled by default. Setting
tpmtoenabledenables a Software TPM (vTPM) device for the VPS.
Response
Configuration updated successfully.
"success"