NSX-T Data Center REST API
Patch a VPC Subnet ip_allocations
Create a VPC Subnet ip-allocation if it does not exist based on the IDs, or update existing ip-allocationRequest:
Method:
PATCH
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ip-pools/{ip-pool-id}/ip-allocations/{ip-allocation-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpAddressAllocation+
Example Request:
PATCH https://<policy-mgr>/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc1/subnets/subnet-1/ip-pools/pool-1/ip-allocations/ipallocation-1 { "allocation_ip": "192.168.0.6" }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a