NSX-T Data Center REST API
Patch a VPC Subnet Port
Create a VPC Subnet port if it does not exist based on the IDs, or update existing portinformation by replacing the port object fields which presents in the request body.
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
VpcSubnetPort+
Example Request:
PATCH https://<policy-mgr>/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc-1/subnets/subnet-1/ports/port-1 { "address_bindings": [ { "ip_address":"1.1.1.1", "mac_address":"aa:bb:cc:dd:ee:ff" }, { "ip_address":"1.1.1.2", "mac_address":"aa:bb:cc:dd:ee:f1" } ] }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a