Reset the password for a virtual server (VM).

Use this to reset your virtual server (VM) password. The reset initiates a server reboot to ensure the new password is applied. The endpoint returns an ID that may be needed to track the operation's status.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
password string required

Responses

200
success boolean
timestamp string
requestId string
data object
400
error string
message string
code string
timestamp string
requestId string
500
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/vm/{vmid}/reset-password
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/vm/6912/reset-password" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "password": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "message": "string",
    "vmid": "string",
    "accountId": "string"
  }
}
Request Body
{
  "password": "string"
}