Exit Rescue Mode
Exits rescue mode and returns the virtual machine to its normal boot disk. For CloudStack: stops the VM, detaches the ISO, then starts it. For OpenStack: issues a nova unrescue action. This is an async operation — use the returned jobId to track progress.
Path Parameters
- Type: stringFormat: uuididrequired
Virtual machine ID
Responses
- application/json
- 400
Bad request — unrescue not supported on this provider
- 404
VM not found or not currently in rescue mode
- 500
Internal server error
Request Example for delete/resource/virtual-machines/{id}/rescue
curl https://api.gpcn.com/v1/resource/virtual-machines/123e4567-e89b-12d3-a456-426614174000/rescue \
--request DELETE \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
{
"success": true,
"data": {
"jobId": "123e4567-e89b-12d3-a456-426614174000",
"resourceType": "virtual_machine",
"resourceDisplayName": "string",
"operation": "create",
"stage": "initializing",
"progressPercentage": 0,
"message": "string",
"errorMessage": "string",
"estimatedCompletion": "2026-05-19T14:02:02.487Z",
"timeRemaining": "string",
"canRetry": true,
"isCompleted": true,
"hasFailed": true,
"resourceId": "123e4567-e89b-12d3-a456-426614174000",
"resourceName": "string",
"createdAt": "2026-05-19T14:02:02.487Z",
"updatedAt": "2026-05-19T14:02:02.487Z"
}
}.png)