Check if any active operations or jobs are running for a specific virtual machine (VM). Use this endpoint to see if a VM is busy with an ongoing process, such as a backup or system update. VM ID (vmid) is obtained from endpoints like GET /api/vm/{vmid}/status.
vmid integer · min: 1 required Example Unique vmid identifier
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 error string message string retryAfter string requestId string https://cloud.hostup.se/api/vm/{vmid}/active-jobs curl -X GET "https://cloud.hostup.se/api/vm/17127/active-jobs" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"jobs": [
"string"
],
"hasActiveBackup": true,
"hasActiveOperation": true,
"canPerformActions": true
}
}