Infrastructure/Agents
POSTAgentSince 1.0SynchronousAuth Required
LifecycleBatchUpgrade
Initiate a batch upgrade for multiple agents with configurable concurrency
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
agentIdsListRequiredAgent ids
Example: item1,item2
toVersionStringRequiredTarget version to upgrade selected agents to
Example: 1.5.0
artifactUrlStringRequiredURL to download the upgrade artifact from
Example: https://artifacts.example.com/agent-1.5.0.tar.gz
checksumStringRequiredSHA256 checksum for verifying the upgrade artifact
Example: sha256:abc123def456
concurrencyIntegerRequiredMaximum number of agents to upgrade simultaneously
Example: 5
Responses
Endpoint
POST/api/v1/agents/lifecycle/batch-upgrade
/api/v1/agents/lifecycle/batch-upgrade
Request Example
curl -X POST '{host}/api/v1/agents/lifecycle/batch-upgrade' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"agentIds":"item1,item2","toVersion":"1.5.0","artifactUrl":"https://artifacts.example.com/agent-1.5.0.tar.gz","checksum":"sha256:abc123def456","concurrency":5}'
Response Example
200{
"batchId": "batch-upg-001"
}Change History
This API has no change history records yet.
