---
title: Settings
---

[Skip to content](#_top)

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

[Network Interconnects](https://developers.cloudflare.com/api/python/resources/network_interconnects)

Copy Markdown

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

---

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

# Settings

##### [Get the current settings for the active account](https://developers.cloudflare.com/api/python/resources/network_interconnects/subresources/settings/methods/get)

network\_interconnects.settings.get(SettingGetParams\*\*kwargs) -> [SettingGetResponse](<https://developers.cloudflare.com/api/python/resources/network_interconnects#(resource)%20network_interconnects.settings%20%3E%20(model)%20setting_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/cni/settings

##### [Update the current settings for the active account](https://developers.cloudflare.com/api/python/resources/network_interconnects/subresources/settings/methods/update)

network\_interconnects.settings.update(SettingUpdateParams\*\*kwargs) -> [SettingUpdateResponse](<https://developers.cloudflare.com/api/python/resources/network_interconnects#(resource)%20network_interconnects.settings%20%3E%20(model)%20setting_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/cni/settings

##### ModelsExpand Collapse

<details>

<summary>

class SettingGetResponse: …

</summary>

default\_asn: int

formatint32

minimum0

<a href="#(resource)%20network_interconnects.settings%20%3E%20(model)%20setting_get_response%20%3E%20(schema)%20%3E%20(property)%20default_asn">Link to this property</a>

</details>

[Link to this property](<#(resource)%20network_interconnects.settings%20%3E%20(model)%20setting_get_response%20%3E%20(schema)>)

<details>

<summary>

class SettingUpdateResponse: …

</summary>

default\_asn: int

formatint32

minimum0

<a href="#(resource)%20network_interconnects.settings%20%3E%20(model)%20setting_update_response%20%3E%20(schema)%20%3E%20(property)%20default_asn">Link to this property</a>

</details>

[Link to this property](<#(resource)%20network_interconnects.settings%20%3E%20(model)%20setting_update_response%20%3E%20(schema)>)