Bulk reset GPU VMs

Reset multiple GPU VMs in a single request. Each VM is reset independently; partial failures are reported per-ID.

Body·
required
application/json

Request body for bulk operations with UUID-based IDs

  • ids
    Type: array string[] 1…50
    required

    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/reset
curl https://api.gpcn.com/v1/resource/gpu/bulk/reset \
  --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 reset completed",
  "data": {
    "results": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "success": true,
        "error": "string"
      }
    ],
    "summary": {
      "total": 1,
      "succeeded": 1,
      "failed": 1
    }
  },
  "meta": null
}