Detach Volume from VM
Detach a volume from its currently attached virtual machine. Returns job tracking information.
Path Parameters
- Type: stringFormat: uuididrequired
The volume UUID
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for put/resource/volumes/{id}/detach
curl https://api.gpcn.com/v1/resource/volumes/123e4567-e89b-12d3-a456-426614174000/detach \
--request PUT \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
{
"success": true,
"message": "Volume detach initiated successfully",
"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"
},
"meta": null
}.png)