---
title: URL Normalization
---

[Skip to content](#_top)

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

Copy Markdown

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

---

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

# URL Normalization

##### [Get URL Normalization settings](https://developers.cloudflare.com/api/python/resources/url_normalization/methods/get)

url\_normalization.get(URLNormalizationGetParams\*\*kwargs) -> [URLNormalizationGetResponse](<https://developers.cloudflare.com/api/python/resources/url_normalization#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)>)

GET/zones/{zone\_id}/url\_normalization

##### [Update URL Normalization settings](https://developers.cloudflare.com/api/python/resources/url_normalization/methods/update)

url\_normalization.update(URLNormalizationUpdateParams\*\*kwargs) -> [URLNormalizationUpdateResponse](<https://developers.cloudflare.com/api/python/resources/url_normalization#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)>)

PUT/zones/{zone\_id}/url\_normalization

##### [Delete URL Normalization settings](https://developers.cloudflare.com/api/python/resources/url_normalization/methods/delete)

url\_normalization.delete(URLNormalizationDeleteParams\*\*kwargs)

DELETE/zones/{zone\_id}/url\_normalization

##### ModelsExpand Collapse

<details>

<summary>

class URLNormalizationGetResponse: …

A result.

</summary>

<details>

<summary>

scope: Literal\["incoming", "both", "none"]

The scope of the URL normalization.

</summary>

One of the following:

"incoming"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)%20%3E%20(property)%20scope%20%3E%20(member)%200">Link to this property</a>

"both"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)%20%3E%20(property)%20scope%20%3E%20(member)%201">Link to this property</a>

"none"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)%20%3E%20(property)%20scope%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

type: Literal\["cloudflare", "rfc3986"]

The type of URL normalization performed by Cloudflare.

</summary>

One of the following:

"cloudflare"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"rfc3986"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_get_response%20%3E%20(schema)>)

<details>

<summary>

class URLNormalizationUpdateResponse: …

A result.

</summary>

<details>

<summary>

scope: Literal\["incoming", "both", "none"]

The scope of the URL normalization.

</summary>

One of the following:

"incoming"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)%20%3E%20(property)%20scope%20%3E%20(member)%200">Link to this property</a>

"both"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)%20%3E%20(property)%20scope%20%3E%20(member)%201">Link to this property</a>

"none"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)%20%3E%20(property)%20scope%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)%20%3E%20(property)%20scope">Link to this property</a>

<details>

<summary>

type: Literal\["cloudflare", "rfc3986"]

The type of URL normalization performed by Cloudflare.

</summary>

One of the following:

"cloudflare"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"rfc3986"

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20url_normalization%20%3E%20(model)%20url_normalization_update_response%20%3E%20(schema)>)