Policy > Networking > IP Management > IP Address Pools > IP Pools

Create a new IP Subnet

Creates a new IpAddressPoolSubnet with the specified ID if it does not
already exist. If a IpAddressPoolSubnet of the given ID already exists,
IpAddressPoolSubnet will be updated. This is a full replace.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/ip-pools/<ip-pool-id>/ip-subnets/<ip-subnet-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpAddressPoolBlockSubnet+
IpAddressPoolStaticSubnet+

Example Request:

1. PATCH https://<policy-mgr>/policy/api/v1/infra/ip-pools/IpPool-Tenant-1/ip-subnets/Subnet-1 { "display_name": "Subnet-1", "description": "Subnet-1 Description", "resource_type": "IpAddressPoolBlockSubnet", "size": "16", "ip_block_path":"/infra/ip-blocks/Finance-block" } 2. PATCH https://<policy-mgr>/policy/api/v1/infra/ip-pools/IpPool-Tenant-1/ip-subnets/Subnet-1 { "display_name": "Subnet-1", "description": "Subnet-1 Description", "resource_type": "IpAddressPoolStaticSubnet", "allocation_ranges": [ { "start":"192.168.0.1", "end":"192.168.0.14" } ], "cidr":"192.168.0.0/28" }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_ipam

Additional Errors: