System Administration > Configuration > NSX Managers > Manager Mode

NodeMode

Currently only a switch from "VMC_LOCAL" to "VMC" is supported.
Returns a new Node Mode, if the request successfuly changed it.

Request:

Method:
POST
URI Path(s):
/api/v1/configs/node/mode
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SwitchingToVmcModeParameters+

Example Request:

POST https://<nsx-mgr>/api/v1/configs/node/mode { "mode_id": "VMC", "base_url": "https://console-stg.cloud.vmware.com", "csp_org_uri": "/csp/gateway/am/api/orgs", "auth_code": { "client_id": "some ID", "client_secret": "some secret" }, "csp_client_credential": { "client_id": "some ID2", "client_secret": "some secret2" }, "proxy_host": "127.0.0.1", "proxy_port": 8080, "default_org_id": "d56c8ab2-7aee-4e6e-8c68-6b99db496766", "ea_org": { "org_id": "nsxaas-enterprise", "org_role": "enterprise_admin" }, "gss_org": { "org_id": "nsxaas-gss", "org_role": "auditor" }, "sre_org": { "org_id": "nsxaas-sre", "org_role": "site_reliability_engineer" }, "sddc_id": "cd48ab2-7aee-4e6e-8c68-6b99db496766", "csp_client_incoming_credentials": [ "85ac8ab2-7aee-4e6e-8c68-6b99db496766", "6d3c8ab2-7aee-4e6e-8c68-6b99db496766", ... ], "service_definition_id": "ab481ab2-7aee-4e6e-8c68-6b99db496766", "csp_time_drift": 5000, "basic_auth_whitelist_ips": [ "10.0.1.2", "10.0.1.3", ... ] }

Successful Response:

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

Example Response:

{ "mode_id": "VMC" }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: