---
title: Configs
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Magic Network Monitoring](https://developers.cloudflare.com/api/go/resources/magic_network_monitoring)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Configs

##### [List account configuration](https://developers.cloudflare.com/api/go/resources/magic_network_monitoring/subresources/configs/methods/get)

client.MagicNetworkMonitoring.Configs.Get(ctx, query) (\*[Configuration](<https://developers.cloudflare.com/api/go/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/mnm/config

##### [Create account configuration](https://developers.cloudflare.com/api/go/resources/magic_network_monitoring/subresources/configs/methods/create)

client.MagicNetworkMonitoring.Configs.New(ctx, params) (\*[Configuration](<https://developers.cloudflare.com/api/go/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>), error)

POST/accounts/{account\_id}/mnm/config

##### [Update an entire account configuration](https://developers.cloudflare.com/api/go/resources/magic_network_monitoring/subresources/configs/methods/update)

client.MagicNetworkMonitoring.Configs.Update(ctx, params) (\*[Configuration](<https://developers.cloudflare.com/api/go/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>), error)

PUT/accounts/{account\_id}/mnm/config

##### [Update account configuration fields](https://developers.cloudflare.com/api/go/resources/magic_network_monitoring/subresources/configs/methods/edit)

client.MagicNetworkMonitoring.Configs.Edit(ctx, params) (\*[Configuration](<https://developers.cloudflare.com/api/go/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>), error)

PATCH/accounts/{account\_id}/mnm/config

##### [Delete account configuration](https://developers.cloudflare.com/api/go/resources/magic_network_monitoring/subresources/configs/methods/delete)

client.MagicNetworkMonitoring.Configs.Delete(ctx, body) (\*[Configuration](<https://developers.cloudflare.com/api/go/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>), error)

DELETE/accounts/{account\_id}/mnm/config

##### ModelsExpand Collapse

<details>

<summary>

type Configuration struct{…}

</summary>

DefaultSampling float64

Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.

minimum1

<a href="#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)%20%3E%20(property)%20default_sampling">Link to this property</a>

Name string

The account name.

<a href="#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

RouterIPs \[]string

<a href="#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)%20%3E%20(property)%20router_ips">Link to this property</a>

<details>

<summary>

WARPDevices \[]ConfigurationWARPDevice

</summary>

ID string

Unique identifier for the warp device.

<a href="#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)%20%3E%20(property)%20warp_devices%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

Name string

Name of the warp device.

<a href="#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)%20%3E%20(property)%20warp_devices%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

RouterIP string

IPv4 CIDR of the router sourcing flow data associated with this warp device. Only /32 addresses are currently supported.

<a href="#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)%20%3E%20(property)%20warp_devices%20%3E%20(items)%20%3E%20(property)%20router_ip">Link to this property</a>

</details>

<a href="#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)%20%3E%20(property)%20warp_devices">Link to this property</a>

</details>

[Link to this property](<#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>)

#### ConfigsFull

##### [List rules and account configuration](https://developers.cloudflare.com/api/go/resources/magic_network_monitoring/subresources/configs/subresources/full/methods/get)

client.MagicNetworkMonitoring.Configs.Full.Get(ctx, query) (\*[Configuration](<https://developers.cloudflare.com/api/go/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/mnm/config/full