Updates multiple devices (server objects).

Updates multiple devices (server objects) in a batch.

Request
Security:
query Parameters
o
required
integer

Organization ID for the specified devices

Request Body schema: application/json

Update devices

devices
required
Array of integers [ 1 .. 500 ] items

List of device (server) IDs

required
Array of objects

Array of different actions to take on each device

Array
attribute
string

Name of the attribute

Value: "tags"
action
string

What action should be taken

Enum: "apply" "remove"
value
Array of strings

The value to use for the action

Responses
200

Successful operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

503

Service Unavailable

post/servers/batch
Request samples
application/json
{
  • "devices": [
    • 0
    ],
  • "actions": [
    • {
      • "attribute": "tags",
      • "action": "apply",
      • "value": [
        • "string"
        ]
      }
    ]
}
Response samples
application/json
{
  • "id": "942b355c-1fdd-4465-af21-0e6c206b35f3",
  • "total_jobs": 0,
  • "pending_jobs": 0,
  • "processed_jobs": 0,
  • "progress": 0,
  • "failed_jobs": 0,
  • "created_at": "2019-08-24T14:15:22Z",
  • "cancelled_at": "2019-08-24T14:15:22Z",
  • "finished_at": "2019-08-24T14:15:22Z"
}