Infrastructure/Agents
POSTAgentSince 1.0SynchronousAuth Required
UpgradeSingle
Upgrade a single agent to the specified target version
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredUUID of the agent to upgrade
Body Fields
targetVersionStringRequiredTarget version to upgrade the agent to
Example: 1.5.0
Responses
Endpoint
POST/api/v1/agents/{uuid}/upgrade
/api/v1/agents/{uuid}/upgrade
Request Example
curl -X POST '{host}/api/v1/agents/{uuid}/upgrade' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"targetVersion":"1.5.0"}'
Response Example
200{
"agentUuid": "agent-abc123-def456",
"oldVersion": "1.4.2",
"newVersion": "1.5.0",
"status": "success",
"error": "connection refused"
}Change History
This API has no change history records yet.
