---
title: Custom Csrs
---

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

# Custom Csrs

##### [List Custom CSRs](https://developers.cloudflare.com/api/python/resources/custom%5Fcsrs/methods/list)

custom\_csrs.list(CustomCsrListParams\*\*kwargs)  \-> SyncV4PagePaginationArray\[[CustomCsrListResponse](https://developers.cloudflare.com/api/python/resources/custom%5Fcsrs#%28resource%29%20custom%5Fcsrs%20%3E%20%28model%29%20custom%5Fcsr%5Flist%5Fresponse%20%3E%20%28schema%29)\]

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/custom\_csrs

##### [Create Custom CSR](https://developers.cloudflare.com/api/python/resources/custom%5Fcsrs/methods/create)

custom\_csrs.create(CustomCsrCreateParams\*\*kwargs)  \-> [CustomCsrCreateResponse](https://developers.cloudflare.com/api/python/resources/custom%5Fcsrs#%28resource%29%20custom%5Fcsrs%20%3E%20%28model%29%20custom%5Fcsr%5Fcreate%5Fresponse%20%3E%20%28schema%29)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/custom\_csrs

##### [Custom CSR Details](https://developers.cloudflare.com/api/python/resources/custom%5Fcsrs/methods/get)

custom\_csrs.get(strcustom\_csr\_id, CustomCsrGetParams\*\*kwargs)  \-> [CustomCsrGetResponse](https://developers.cloudflare.com/api/python/resources/custom%5Fcsrs#%28resource%29%20custom%5Fcsrs%20%3E%20%28model%29%20custom%5Fcsr%5Fget%5Fresponse%20%3E%20%28schema%29)

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/custom\_csrs/{custom\_csr\_id}

##### [Delete Custom CSR](https://developers.cloudflare.com/api/python/resources/custom%5Fcsrs/methods/delete)

custom\_csrs.delete(strcustom\_csr\_id, CustomCsrDeleteParams\*\*kwargs)  \-> [CustomCsrDeleteResponse](https://developers.cloudflare.com/api/python/resources/custom%5Fcsrs#%28resource%29%20custom%5Fcsrs%20%3E%20%28model%29%20custom%5Fcsr%5Fdelete%5Fresponse%20%3E%20%28schema%29)

DELETE/{accounts\_or\_zones}/{account\_or\_zone\_id}/custom\_csrs/{custom\_csr\_id}

##### ModelsExpand Collapse 

class CustomCsr: …

A custom Certificate Signing Request (CSR).

id: str

Custom CSR identifier tag.

maxLength36

created\_at: datetime

When the CSR was created.

formatdate-time

key\_type: Literal\["rsa2048", "p256v1"\]

The key algorithm used to generate the CSR.

One of the following:

"rsa2048"

"p256v1"

common\_name: Optional\[str\]

The common name (domain) for the CSR.

maxLength64

country: Optional\[str\]

Two-letter ISO 3166-1 alpha-2 country code.

csr: Optional\[str\]

The PEM-encoded Certificate Signing Request.

locality: Optional\[str\]

City or locality name.

organization: Optional\[str\]

Organization name.

organizational\_unit: Optional\[str\]

Organizational unit for the CSR subject.

sans: Optional\[List\[str\]\]

Subject Alternative Names included in the CSR.

state: Optional\[str\]

State or province name.

class CustomCsrListResponse: …

A custom Certificate Signing Request (CSR).

id: str

Custom CSR identifier tag.

maxLength36

created\_at: datetime

When the CSR was created.

formatdate-time

key\_type: Literal\["rsa2048", "p256v1"\]

The key algorithm used to generate the CSR.

One of the following:

"rsa2048"

"p256v1"

account\_tag: Optional\[str\]

Account identifier associated with this CSR.

common\_name: Optional\[str\]

The common name (domain) for the CSR.

maxLength64

country: Optional\[str\]

Two-letter ISO 3166-1 alpha-2 country code.

csr: Optional\[str\]

The PEM-encoded Certificate Signing Request.

description: Optional\[str\]

Optional description for the CSR.

locality: Optional\[str\]

City or locality name.

name: Optional\[str\]

Human-readable name for the CSR.

organization: Optional\[str\]

Organization name.

organizational\_unit: Optional\[str\]

Organizational unit name.

sans: Optional\[List\[str\]\]

Subject Alternative Names included in the CSR.

state: Optional\[str\]

State or province name.

class CustomCsrCreateResponse: …

A custom Certificate Signing Request (CSR).

id: str

Custom CSR identifier tag.

maxLength36

created\_at: datetime

When the CSR was created.

formatdate-time

key\_type: Literal\["rsa2048", "p256v1"\]

The key algorithm used to generate the CSR.

One of the following:

"rsa2048"

"p256v1"

account\_tag: Optional\[str\]

Account identifier associated with this CSR.

common\_name: Optional\[str\]

The common name (domain) for the CSR.

maxLength64

country: Optional\[str\]

Two-letter ISO 3166-1 alpha-2 country code.

csr: Optional\[str\]

The PEM-encoded Certificate Signing Request.

description: Optional\[str\]

Optional description for the CSR.

locality: Optional\[str\]

City or locality name.

name: Optional\[str\]

Human-readable name for the CSR.

organization: Optional\[str\]

Organization name.

organizational\_unit: Optional\[str\]

Organizational unit name.

sans: Optional\[List\[str\]\]

Subject Alternative Names included in the CSR.

state: Optional\[str\]

State or province name.

class CustomCsrGetResponse: …

A custom Certificate Signing Request (CSR).

id: str

Custom CSR identifier tag.

maxLength36

created\_at: datetime

When the CSR was created.

formatdate-time

key\_type: Literal\["rsa2048", "p256v1"\]

The key algorithm used to generate the CSR.

One of the following:

"rsa2048"

"p256v1"

account\_tag: Optional\[str\]

Account identifier associated with this CSR.

common\_name: Optional\[str\]

The common name (domain) for the CSR.

maxLength64

country: Optional\[str\]

Two-letter ISO 3166-1 alpha-2 country code.

csr: Optional\[str\]

The PEM-encoded Certificate Signing Request.

description: Optional\[str\]

Optional description for the CSR.

locality: Optional\[str\]

City or locality name.

name: Optional\[str\]

Human-readable name for the CSR.

organization: Optional\[str\]

Organization name.

organizational\_unit: Optional\[str\]

Organizational unit name.

sans: Optional\[List\[str\]\]

Subject Alternative Names included in the CSR.

state: Optional\[str\]

State or province name.

class CustomCsrDeleteResponse: …

id: Optional\[str\]

Custom CSR identifier tag.

maxLength36