NSX-T Data Center REST API

Creates or updates the proxy configuration

Updates or creates the proxy configuration, and returns the new configuration.

Request:

Method:
PUT
URI Path(s):
/api/v1/proxy/config
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Proxy+

Example Request:

PUT https://<nsx-mgr>/api/v1/proxy/config { "enabled": true "scheme": "HTTPS", "host": "proxy.eng.vmware.com", "port": 7080, "username": "nsx_user", "password": "nsx_password", "_revision": 3 }

Successful Response:

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

Example Response:

{ "enabled": true "scheme": "HTTPS", "host": "proxy.eng.vmware.com", "port": 7080, "username": "nsx_user", "resource_type": "Proxy", "id": "TelemetryConfigIdentifier", "display_name": "TelemetryConfigIdentifier", "_create_user": "system", "_create_time": 1551323564312, "_last_modified_user": "admin", "_last_modified_time": 1551380573835, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 4 }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: