Infrastructure/OTA Upgrade Plans
POSTOTASince 1.0SynchronousAuth Required
CreateRollbackPlan
Create Rollback Plan
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
sourcePlanUuidStringRequiredSource plan uuid
Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
observeDurationStringRequiredObserve duration
Example: value
Responses
Endpoint
POST/api/v1/lifecycle/plans/rollback
/api/v1/lifecycle/plans/rollback
Request Example
curl -X POST '{host}/api/v1/lifecycle/plans/rollback' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"sourcePlanUuid":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","observeDuration":"value"}'
Response Example
200{"plan": {"id": "plan-a1b2c3d4-e5f6-7890-abcd-ef1234567890", "name": "Upgrade agents to v1.3.0", "fromVersion": "1.2.0", "toVersion": "1.3.0", "fromRelease": "215", "toRelease": "221", "batches": [{"batchIndex": 20, "agentIds": ["value"], "status": "completed", "failedCount": 20, "tasks": [{"componentUuid": "abcdef0123456789abcdef0123456789", "componentInstanceUuid": "abcdef0123456789abcdef0123456789", "lifecycleTaskUuid": "task-a1b2c3d4", "componentName": "zmetis", "taskType": "update", "status": "running", "nodeUuid": "abcdef0123456789abcdef0123456789", "lcaUuid": "abcdef0123456789abcdef0123456789"}]}], "failureThreshold": 0.1}, "warnings": ["value"]}Change History
This API has no change history records yet.
