System Administration >
Lifecycle Management
>
Migration
>
Group
Reorder migration unit group
Reorder an migration unit group by placing it before/after
the specified migration unit group.
Request:
Method:
POST
URI Path(s):
/api/v1/migration/migration-unit-groups/<group-id>?action=reorder
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ReorderMigrationRequest
+
ReorderMigrationRequest
(
schema
)
Name
Description
Type
Notes
id
id of the migration unit group/migration unit before/after which the migration unit group/migration unit is to be placed
string
Required
is_before
flag indicating whether the migration unit group/migration unit is to be placed before or after the specified migration unit group/migration unit
boolean
Default: "True"
Example Request:
POST https://<nsx-mgr>/api/v1/migration/migration-unit-groups/d00d6a39-5ff2-4ddc-a63f-672b4e9ecc5?action=reorder { "id": "1f64e9f4-eeb3-4ebd-af78-e08757e593cf", "is_before": "false" }
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Required Permissions:
crud
Feature:
utilities_upgrade
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable