---
title: Configs
---

[Skip to content](#_top)

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

[Magic Network Monitoring](https://developers.cloudflare.com/api/python/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/python/resources/magic_network_monitoring/subresources/configs/methods/get)

magic\_network\_monitoring.configs.get(ConfigGetParams\*\*kwargs) -> [Configuration](<https://developers.cloudflare.com/api/python/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>)

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

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

magic\_network\_monitoring.configs.create(ConfigCreateParams\*\*kwargs) -> [Configuration](<https://developers.cloudflare.com/api/python/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>)

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

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

magic\_network\_monitoring.configs.update(ConfigUpdateParams\*\*kwargs) -> [Configuration](<https://developers.cloudflare.com/api/python/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>)

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

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

magic\_network\_monitoring.configs.edit(ConfigEditParams\*\*kwargs) -> [Configuration](<https://developers.cloudflare.com/api/python/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>)

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

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

magic\_network\_monitoring.configs.delete(ConfigDeleteParams\*\*kwargs) -> [Configuration](<https://developers.cloudflare.com/api/python/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class Configuration: …

</summary>

default\_sampling: float

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: str

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>

router\_ips: List\[str]

<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>

warp\_devices: List\[WARPDevice]

</summary>

id: str

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: str

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>

router\_ip: str

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/python/resources/magic_network_monitoring/subresources/configs/subresources/full/methods/get)

magic\_network\_monitoring.configs.full.get(FullGetParams\*\*kwargs) -> [Configuration](<https://developers.cloudflare.com/api/python/resources/magic_network_monitoring#(resource)%20magic_network_monitoring.configs%20%3E%20(model)%20configuration%20%3E%20(schema)>)

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