System Administration > Configuration > Fabric > Compute Managers

Update compute manager

Updates a specified compute manager

Request:

Method:
PUT
URI Path(s):
/api/v1/fabric/compute-managers/{compute-manager-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ComputeManager+

Example Request:

PUT https://<nsx-mgr>/api/v1/fabric/compute-managers/cf1f01db-e5b3-4688-9c1e-5f47d335fb01 { "id": "cf1f01db-e5b3-4688-9c1e-5f47d335fb01", "server": "10.112.3.45", "origin_type": "vCenter", "credential" : { "credential_type" : "UsernamePasswordLoginCredential", "username": "user2", "password": "somepassword", "thumbprint": "3A:21:22:A6:72:28:DA:EC:9D:05:AF:0B:B5:C6:44:CC:52:8D:54:AC" }, "_revision": 0 }

Successful Response:

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

Example Response:

{ "id": "cf1f01db-e5b3-4688-9c1e-5f47d335fb01", "server": "10.112.3.45", "origin_type": "vCenter", "credential" : { "credential_type" : "UsernamePasswordLoginCredential", "thumbprint": "3A:21:22:A6:72:28:DA:EC:9D:05:AF:0B:B5:C6:44:CC:52:8D:54:AC" } "origin_properties": [], "_revision": 1 }

Required Permissions:

crud

Feature:

compute_managers_compute_managers

Additional Errors: