Infrastructure/Agents
POSTAgentSince 1.0SynchronousAuth Required
TokenBatchUpgrade
Submit a batch upgrade job for a list of agents to a specified target version
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
agentUuidsListRequiredAgent uuids
Example: item1,item2
targetVersionStringRequiredTarget version to upgrade the selected agents to
Example: 1.5.0
Responses
Endpoint
POST/api/v1/agents/batch-upgrade
/api/v1/agents/batch-upgrade
Request Example
curl -X POST '{host}/api/v1/agents/batch-upgrade' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"agentUuids":"item1,item2","targetVersion":"1.5.0"}'
Response Example
200{
"id": "upgrade-job-001",
"targetVersion": "1.5.0",
"agents": [
{}
],
"status": "running",
"simulated": false,
"createdAt": "example",
"completedAt": "example"
}Change History
This API has no change history records yet.
