System Administration > Lifecycle Management > Upgrade > Group

Add upgrade units to specified upgrade unit group

Add upgrade units to specified upgrade unit group. The upgrade
units will be added at the end of the upgrade unit list.

Request:

Method:
POST
URI Path(s):
/api/v1/upgrade/upgrade-unit-groups/<group-id>?action=add_upgrade_units
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
UpgradeUnitList+

Example Request:

POST https://<nsx-mgr>/api/v1/upgrade/upgrade-unit-groups/d00d6a39-5ff2-4ddc-a63f-672b4e9ecc5?action=add_upgrade_units { "list": [ { "id": "e893085a-3709-11e7-ae6e-55850742a4d0", "group": { "display_name": "Two", "id": "ab1b2c01-97a6-44c6-b946-430728c0355d" } } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
UpgradeUnitList+

Example Response:

{ "list": [ { "id": "1f64e9f4-eeb3-4ebd-af78-e08757e593cf", "display_name": "esx552", "type": "HOST", "current_version": "1.0.0.1444456", "group": { "id": "d00d6a39-5ff2-4ddc-a63f-672b4e9ecc5", "display_name": "esx55Hosts" }, "warnings": [], "metadata": [] } ] }

Required Permissions:

crud

Feature:

utilities_upgrade

Additional Errors: