PATCH /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}
Patch a specific Site WAN.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
wan_id |
String | Yes | |
site_id |
String | Yes | |
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 |
---|---|---|---|
priority |
Integer | No | |
name |
String | No | |
static_addressing |
Object | No |
(optional) if omitted, use DHCP. Submit secondary_address when site is in high availability mode. |
static_addressing.secondary_address |
String | No |
A valid CIDR notation representing an IP range. |
static_addressing.gateway_address |
String | Yes |
A valid IPv4 address. |
static_addressing.address |
String | Yes |
A valid CIDR notation representing an IP range. |
physport |
Integer | No | |
vlan_tag |
Integer | No |
VLAN ID. Use zero for untagged. |
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.