---
title: Data Localization Suite
---

[Skip to content](#%5Ftop) 

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

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Data Localization Suite

#### Data Localization SuiteRegions

##### [List DLS regions for an account](https://developers.cloudflare.com/api/python/resources/dls/subresources/regions/methods/list)

dls.regions.list(RegionListParams\*\*kwargs)  \-> SyncCursorPagination\[[RegionListResponse](https://developers.cloudflare.com/api/python/resources/dls#%28resource%29%20dls.regions%20%3E%20%28model%29%20region%5Flist%5Fresponse%20%3E%20%28schema%29)\]

GET/accounts/{account\_id}/dls/regions

##### [Get a DLS region](https://developers.cloudflare.com/api/python/resources/dls/subresources/regions/methods/get)

dls.regions.get(strregion\_id, RegionGetParams\*\*kwargs)  \-> [RegionGetResponse](https://developers.cloudflare.com/api/python/resources/dls#%28resource%29%20dls.regions%20%3E%20%28model%29%20region%5Fget%5Fresponse%20%3E%20%28schema%29)

GET/accounts/{account\_id}/dls/regions/{region\_id}

##### ModelsExpand Collapse 

class RegionListResponse: …

id: str

created\_on: datetime

formatdate-time

modified\_on: datetime

formatdate-time

name: str

region\_key: str

maxLength128

minLength1

version: int

version\_created\_on: datetime

formatdate-time

class RegionGetResponse: …

id: str

created\_on: datetime

formatdate-time

modified\_on: datetime

formatdate-time

name: str

region\_key: str

maxLength128

minLength1

version: int

version\_created\_on: datetime

formatdate-time

#### Data Localization SuiteRegional Services

#### Data Localization SuiteRegional ServicesPrefix Bindings

##### [List DLS prefix bindings for an account](https://developers.cloudflare.com/api/python/resources/dls/subresources/regional%5Fservices/subresources/prefix%5Fbindings/methods/list)

dls.regional\_services.prefix\_bindings.list(PrefixBindingListParams\*\*kwargs)  \-> SyncCursorPagination\[[PrefixBindingListResponse](https://developers.cloudflare.com/api/python/resources/dls#%28resource%29%20dls.regional%5Fservices.prefix%5Fbindings%20%3E%20%28model%29%20prefix%5Fbinding%5Flist%5Fresponse%20%3E%20%28schema%29)\]

GET/accounts/{account\_id}/dls/regional\_services/prefix\_bindings

##### [Get a DLS prefix binding](https://developers.cloudflare.com/api/python/resources/dls/subresources/regional%5Fservices/subresources/prefix%5Fbindings/methods/get)

dls.regional\_services.prefix\_bindings.get(strbinding\_id, PrefixBindingGetParams\*\*kwargs)  \-> [PrefixBindingGetResponse](https://developers.cloudflare.com/api/python/resources/dls#%28resource%29%20dls.regional%5Fservices.prefix%5Fbindings%20%3E%20%28model%29%20prefix%5Fbinding%5Fget%5Fresponse%20%3E%20%28schema%29)

GET/accounts/{account\_id}/dls/regional\_services/prefix\_bindings/{binding\_id}

##### [Create a DLS prefix binding](https://developers.cloudflare.com/api/python/resources/dls/subresources/regional%5Fservices/subresources/prefix%5Fbindings/methods/create)

dls.regional\_services.prefix\_bindings.create(PrefixBindingCreateParams\*\*kwargs)  \-> [PrefixBindingCreateResponse](https://developers.cloudflare.com/api/python/resources/dls#%28resource%29%20dls.regional%5Fservices.prefix%5Fbindings%20%3E%20%28model%29%20prefix%5Fbinding%5Fcreate%5Fresponse%20%3E%20%28schema%29)

POST/accounts/{account\_id}/dls/regional\_services/prefix\_bindings

##### [Update a DLS prefix binding](https://developers.cloudflare.com/api/python/resources/dls/subresources/regional%5Fservices/subresources/prefix%5Fbindings/methods/edit)

dls.regional\_services.prefix\_bindings.edit(strbinding\_id, PrefixBindingEditParams\*\*kwargs)  \-> [PrefixBindingEditResponse](https://developers.cloudflare.com/api/python/resources/dls#%28resource%29%20dls.regional%5Fservices.prefix%5Fbindings%20%3E%20%28model%29%20prefix%5Fbinding%5Fedit%5Fresponse%20%3E%20%28schema%29)

PATCH/accounts/{account\_id}/dls/regional\_services/prefix\_bindings/{binding\_id}

##### [Delete a DLS prefix binding](https://developers.cloudflare.com/api/python/resources/dls/subresources/regional%5Fservices/subresources/prefix%5Fbindings/methods/delete)

dls.regional\_services.prefix\_bindings.delete(strbinding\_id, PrefixBindingDeleteParams\*\*kwargs)  \-> [PrefixBindingDeleteResponse](https://developers.cloudflare.com/api/python/resources/dls#%28resource%29%20dls.regional%5Fservices.prefix%5Fbindings%20%3E%20%28model%29%20prefix%5Fbinding%5Fdelete%5Fresponse%20%3E%20%28schema%29)

DELETE/accounts/{account\_id}/dls/regional\_services/prefix\_bindings/{binding\_id}

##### ModelsExpand Collapse 

class PrefixBindingListResponse: …

id: str

The ID of the binding.

cidr: str

The CIDR that is bound.

prefix\_id: str

The ID of the parent prefix.

region\_key: str

The region key used for the binding.

maxLength128

minLength1

class PrefixBindingGetResponse: …

id: str

The ID of the binding.

cidr: str

The CIDR that is bound.

prefix\_id: str

The ID of the parent prefix.

region\_key: str

The region key used for the binding.

maxLength128

minLength1

class PrefixBindingCreateResponse: …

id: str

The ID of the binding.

cidr: str

The CIDR that is bound.

prefix\_id: str

The ID of the parent prefix.

region\_key: str

The region key used for the binding.

maxLength128

minLength1

class PrefixBindingEditResponse: …

id: str

The ID of the binding.

cidr: str

The CIDR that is bound.

prefix\_id: str

The ID of the parent prefix.

region\_key: str

The region key used for the binding.

maxLength128

minLength1

class PrefixBindingDeleteResponse: …

messages: List\[[ResponseInfo](https://developers.cloudflare.com/api/python/resources/$shared#%28resource%29%20%24shared%20%3E%20%28model%29%20response%5Finfo%20%3E%20%28schema%29)\]

code: int

minimum1000

message: str

documentation\_url: Optional\[str\]

source: Optional\[Source\]

pointer: Optional\[str\]

success: bool

errors: Optional\[List\[[ResponseInfo](https://developers.cloudflare.com/api/python/resources/$shared#%28resource%29%20%24shared%20%3E%20%28model%29%20response%5Finfo%20%3E%20%28schema%29)\]\]

maxLength0

code: int

minimum1000

message: str

documentation\_url: Optional\[str\]

source: Optional\[Source\]

pointer: Optional\[str\]