Management Plane API > Networking > Services > Metadata Proxy

Update a metadata proxy

Request:

Method:
PUT
URI Path(s):
/api/v1/md-proxies/<proxy-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
MetadataProxy+

Example Request:

PUT https://<nsx-mgr>/api/v1/md-proxies/e62a2471-d2ed-4644-b50c-1c61df81c011 { "display_name" : "metadata-proxy-2", "metadata_server_url" : "http://12.34.56.79:3000", "edge_cluster_id" : "4a6a13e0-eb66-4c02-96c3-85c9a250a946", "enable_standby_relocation": true, "_revision" : 0 }

Successful Response:

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

Example Response:

{ "resource_type" : "MetadataProxy", "id" : "e62a2471-d2ed-4644-b50c-1c61df81c011", "display_name" : "metadata-proxy-2", "metadata_server_url" : "http://12.34.56.79:3000", "edge_cluster_id" : "4a6a13e0-eb66-4c02-96c3-85c9a250a946", "enable_standby_relocation": true, "attached_logical_port_id" : "ecde011f-528f-4ccb-a147-dd45d74103b6", "_last_modified_user" : "admin", "_last_modified_time" : 1478286749290, "_revision" : 1 }

Required Permissions:

crud

Feature:

metadata_proxies

Additional Errors: