Policy >
Networking
>
IP Management
>
IP Address Pools
>
IP Pools
Delete an IpAddressPoolSubnet
Delete the IpAddressPoolSubnet with the given id.
Request:
Method:
DELETE
URI Path(s):
/policy/api/v1/infra/ip-pools/{ip-pool-id}/ip-subnets/{ip-subnet-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/ip-pools/{ip-pool-id}/ip-subnets/{ip-subnet-id}
Request Headers:
n/a
Query Parameters:
IpAddressPoolSubnetDeleteRequestParameters
+
IpAddressPoolSubnetDeleteRequestParameters
(
schema
)
Name
Description
Type
Notes
ignore_ip_allocations
Flag to specify whether to ignore ip allocations.
When flag is set to true, IpAddressPoolSubnet will be deleted, even if IP allocations are present.
When flag is set to false (default), error will be thrown if allocations are present.
This flag works only when sync_realization field set to true.
boolean
Default: "False"
Request Body:
n/a
Example Request:
DELETE https://<policy-mgr>/policy/api/v1/infra/IpPool-Tenant-1/ip-subnets/Subnet-1
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Required Permissions:
crud
Feature:
policy_ipam
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable