Bulk stop GPU VMs
Stop multiple GPU VMs in a single request. Each VM is stopped independently; partial failures are reported per-ID.
Body·
required
application/json
Request body for bulk operations with UUID-based IDs
- Type: array string[] 1…50idsrequired
Array of resource UUIDs (1-50)
Responses
- application/json
- application/json
- application/json
- 403
GPU feature not enabled for this entity
- application/json
Request Example for post/resource/gpu/bulk/stop
curl https://api.gpcn.com/v1/resource/gpu/bulk/stop \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-API-Key: YOUR_SECRET_TOKEN' \
--data '{
"ids": [
"550e8400-e29b-41d4-a716-446655440000",
"660e8400-e29b-41d4-a716-446655440001"
]
}'
{
"success": true,
"message": "Bulk stop completed",
"data": {
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"success": true,
"error": "string"
}
],
"summary": {
"total": 1,
"succeeded": 1,
"failed": 1
}
},
"meta": null
}.png)