Trigger Upgrade Manager Upgrade
Upgrades the Upgrade Manager service itself to the target version specified in the request body. This is distinct from POST /upgrade which upgrades the entire appliance - this endpoint only upgrades the upgrade orchestration tool.
The Upgrade Manager must be at the target version before it can orchestrate the main appliance upgrade (POST /upgrade).
Prerequisites:
- A valid upgrade package must be uploaded to the system
- No other upgrade operation should be in progress
The operation executes asynchronously and returns immediately with a status URL. Use GET /upgrade/manager/status to monitor upgrade progress.
Only one Upgrade Manager upgrade operation can execute at a time (returns 409 if upgrade is in progress or already completed).
If the upgrade fails, this endpoint can be called again to retry the upgrade.
Action to perform on Upgrade Manager. Must be set to 'upgrade' to trigger upgrade execution.
{
"target_version": "string"
}
The target appliance version to upgrade to (e.g., "5.1.0.0.0.29219600"). This must match one of the versions available in the upgrade packages.
Upgrade Manager upgrade operation has been accepted and initiated. The upgrade is executing asynchronously. Use the status_url in the response to monitor upgrade progress and track completion.
{
"id": "b8f47985-22ed-3193-bca8-11c7b025cbce",
"status_url": "/segmentation/default-ids-profiles/b8f47985-22ed-3193-bca8-11c7b025cbce/status"
}
UUID identifier of the response.
The URL to check the status of the operation.
Bad request. The system does not meet prerequisites for Upgrade Manager upgrade execution, or the request body is invalid.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Conflict. An Upgrade Manager upgrade operation is already in progress or already completed successfully. If an upgrade is in progress, monitor it using GET /upgrade/manager/status. If already completed, proceed to appliance upgrade.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unexpected error occurred while initiating Upgrade Manager upgrade. Consult the error response details and system logs for diagnostic information.
"Error Object"
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"target_version":"string"}' https://{api_host}/https://{api_host}:{port}/lh-appliance/upgrade/manager