NSX-T Data Center REST API
Patch a VPC ip allocation
Create a VPC ip allocation if it does not existRequest:
Method:
PATCH
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/ip-address-allocations/{ip-address-allocation-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
VpcIpAddressAllocation+
Example Request:
PATCH https://<policy-mgr>/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc-1/ip-address-allocations/ip-1 { "ip_address_block_visibility": "EXTERNAL", "allocation_ip": "192.168.0.6" }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a