Obtain access to the console of your Virtual Private Server (VPS). This is useful for troubleshooting or performing administrative tasks directly on the server, even with limited network connectivity. The API returns a console access URL for your browser and a unique 'requestId' for follow-up calls.
vmid integer · min: 1 required Example Unique vmid identifier
console string required novnc string required Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/console curl -X GET "https://cloud.hostup.se/api/vm/14754/console?console=string&novnc=string" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"consoleUrl": "string",
"ticket": "string",
"CSRFPreventionToken": "string",
"username": "string"
}
}