POST /accounts/{account_id}/zerotrust/subnets/warp
Create a WARP IP assignment subnet. Currently, only IPv4 subnets can be created.
Network constraints:
- The network must be within one of the following private IP ranges:
10.0.0.0/8(RFC 1918)172.16.0.0/12(RFC 1918)192.168.0.0/16(RFC 1918)100.64.0.0/10(RFC 6598 - CGNAT)
- The subnet must have a prefix length of
/24or larger (e.g.,/16,/20,/24are valid;/25,/28are not)
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
comment |
String | No |
An optional description of the subnet. |
network |
String | Yes |
The private IPv4 or IPv6 range defining the subnet, in CIDR notation. |
name |
String | Yes |
A user-friendly name for the subnet. |
is_default_network |
Boolean | No |
If |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.