Magic Network Monitoring

magic_network_monitoring

magic_network_monitoring.configs

Methods

Create Account Configuration -> Envelope<>
post/accounts/{account_id}/mnm/config

Create a new network monitoring configuration.

Delete Account Configuration -> Envelope<>
delete/accounts/{account_id}/mnm/config

Delete an existing network monitoring configuration.

Update Account Configuration Fields -> Envelope<>
patch/accounts/{account_id}/mnm/config

Update fields in an existing network monitoring configuration.

List Account Configuration -> Envelope<>
get/accounts/{account_id}/mnm/config

Lists default sampling, router IPs and warp devices for account.

Security
API Email + API Key

The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

Example: X-Auth-Email: user@example.com

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194

Accepted Permissions (at least one required)

Magic Network Monitoring Admin Magic Network Monitoring Config Write Magic Network Monitoring Config Read

Parameters
account_id: string
Response fields
errors: Array<>
messages: Array<>
result:
success: true

Whether the API call was successful

Request example
200Example
Update An Entire Account Configuration -> Envelope<>
put/accounts/{account_id}/mnm/config

Update an existing network monitoring configuration, requires the entire configuration to be updated at once.

Domain types

Configuration = { default_sampling, name, router_ips, 1 more... }

magic_network_monitoring.configs.full

Methods

List Rules And Account Configuration -> Envelope<>
get/accounts/{account_id}/mnm/config/full

Lists default sampling, router IPs, warp devices, and rules for account.

magic_network_monitoring.rules

Methods

Create Rules -> Envelope<>
post/accounts/{account_id}/mnm/rules

Create network monitoring rules for account. Currently only supports creating a single rule per API request.

Delete Rule -> Envelope<>
delete/accounts/{account_id}/mnm/rules/{rule_id}

Delete a network monitoring rule for account.

Update Rule -> Envelope<>
patch/accounts/{account_id}/mnm/rules/{rule_id}

Update a network monitoring rule for account.

Get Rule -> Envelope<>
get/accounts/{account_id}/mnm/rules/{rule_id}

List a single network monitoring rule for account.

List Rules -> SinglePage<>
get/accounts/{account_id}/mnm/rules

Lists network monitoring rules for account.

Update Rules -> Envelope<>
put/accounts/{account_id}/mnm/rules

Update network monitoring rules for account.

Domain types

MagicNetworkMonitoringRule = { automatic_advertisement, duration, name, 4 more... }

magic_network_monitoring.rules.advertisements

Methods

Update Advertisement For Rule -> Envelope<>
patch/accounts/{account_id}/mnm/rules/{rule_id}/advertisement

Update advertisement for rule.

Domain types

Advertisement = { automatic_advertisement }