Reset the SSH keys for your virtual server (VM). After resetting, the server will automatically restart to apply the changes. The endpoint returns a requestID to track the status of this operation.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example keyIds array required success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/reset-ssh-keys curl -X POST "https://cloud.hostup.se/api/vm/12877/reset-ssh-keys" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyIds": [
"string"
]
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"message": "string",
"keyCount": 0,
"vmid": "string",
"accountId": "string"
}
} {
"keyIds": [
"string"
]
}