PATCH /accounts/{account_id}/magic/sites/{site_id}/netflow_config
Updates NetFlow configuration for a site.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
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 |
|---|---|---|---|
collector_ip |
String | No |
IPv4 address of the NetFlow collector. |
sampling_rate |
Integer | No |
Sampling rate for NetFlow records (1 = every packet). |
active_timeout |
Integer | No |
Timeout in seconds for active flows. |
inactive_timeout |
Integer | No |
Timeout in seconds for inactive flows. |
collector_port |
Integer | No |
UDP port of the NetFlow collector. |
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.