---
title: ACM
---

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

# ACM

#### ACMTotal TLS

##### [Total TLS Settings Details](https://developers.cloudflare.com/api/python/resources/acm/subresources/total_tls/methods/get)

acm.total\_tls.get(TotalTLSGetParams\*\*kwargs) -> [TotalTLSGetResponse](<https://developers.cloudflare.com/api/python/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_get_response%20%3E%20(schema)>)

GET/zones/{zone\_id}/acm/total\_tls

##### [Enable or Disable Total TLS](https://developers.cloudflare.com/api/python/resources/acm/subresources/total_tls/methods/update)

acm.total\_tls.update(TotalTLSUpdateParams\*\*kwargs) -> [TotalTLSUpdateResponse](<https://developers.cloudflare.com/api/python/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_update_response%20%3E%20(schema)>)

POST/zones/{zone\_id}/acm/total\_tls

##### [Enable or Disable Total TLS](https://developers.cloudflare.com/api/python/resources/acm/subresources/total_tls/methods/edit)

acm.total\_tls.edit(TotalTLSEditParams\*\*kwargs) -> [TotalTLSEditResponse](<https://developers.cloudflare.com/api/python/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_edit_response%20%3E%20(schema)>)

POST/zones/{zone\_id}/acm/total\_tls

##### ModelsExpand Collapse

<details>

<summary>

Literal\["google", "lets\_encrypt", "ssl\_com"]

The Certificate Authority that Total TLS certificates will be issued through.

</summary>

One of the following:

"google"

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"lets\_encrypt"

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"ssl\_com"

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

</details>

[Link to this property](<#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)>)

<details>

<summary>

class TotalTLSGetResponse: …

</summary>

certificate\_authority: Optional\[CertificateAuthority]

The Certificate Authority that Total TLS certificates will be issued through.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_get_response%20%3E%20(schema)%20%3E%20(property)%20certificate_authority">Link to this property</a>

enabled: Optional\[bool]

If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_get_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

validity\_period: Optional\[Literal\[90]]

The validity period in days for the certificates ordered via Total TLS.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_get_response%20%3E%20(schema)%20%3E%20(property)%20validity_period">Link to this property</a>

</details>

[Link to this property](<#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_get_response%20%3E%20(schema)>)

<details>

<summary>

class TotalTLSUpdateResponse: …

</summary>

certificate\_authority: Optional\[CertificateAuthority]

The Certificate Authority that Total TLS certificates will be issued through.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_update_response%20%3E%20(schema)%20%3E%20(property)%20certificate_authority">Link to this property</a>

enabled: Optional\[bool]

If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_update_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

validity\_period: Optional\[Literal\[90]]

The validity period in days for the certificates ordered via Total TLS.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_update_response%20%3E%20(schema)%20%3E%20(property)%20validity_period">Link to this property</a>

</details>

[Link to this property](<#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_update_response%20%3E%20(schema)>)

<details>

<summary>

class TotalTLSEditResponse: …

</summary>

certificate\_authority: Optional\[CertificateAuthority]

The Certificate Authority that Total TLS certificates will be issued through.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_edit_response%20%3E%20(schema)%20%3E%20(property)%20certificate_authority">Link to this property</a>

enabled: Optional\[bool]

If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_edit_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

validity\_period: Optional\[Literal\[90]]

The validity period in days for the certificates ordered via Total TLS.

<a href="#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_edit_response%20%3E%20(schema)%20%3E%20(property)%20validity_period">Link to this property</a>

</details>

[Link to this property](<#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_edit_response%20%3E%20(schema)>)

#### ACMCustom Trust Store

##### [List Custom Origin Trust Store Details](https://developers.cloudflare.com/api/python/resources/acm/subresources/custom_trust_store/methods/list)

acm.custom\_trust\_store.list(CustomTrustStoreListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[CustomTrustStore](<https://developers.cloudflare.com/api/python/resources/acm#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)>)]

GET/zones/{zone\_id}/acm/custom\_trust\_store

##### [Upload Custom Origin Trust Store](https://developers.cloudflare.com/api/python/resources/acm/subresources/custom_trust_store/methods/create)

acm.custom\_trust\_store.create(CustomTrustStoreCreateParams\*\*kwargs) -> [CustomTrustStore](<https://developers.cloudflare.com/api/python/resources/acm#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)>)

POST/zones/{zone\_id}/acm/custom\_trust\_store

##### [Custom Origin Trust Store Details](https://developers.cloudflare.com/api/python/resources/acm/subresources/custom_trust_store/methods/get)

acm.custom\_trust\_store.get(strcustom\_origin\_trust\_store\_id, CustomTrustStoreGetParams\*\*kwargs) -> [CustomTrustStore](<https://developers.cloudflare.com/api/python/resources/acm#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)>)

GET/zones/{zone\_id}/acm/custom\_trust\_store/{custom\_origin\_trust\_store\_id}

##### [Delete Custom Origin Trust Store](https://developers.cloudflare.com/api/python/resources/acm/subresources/custom_trust_store/methods/delete)

acm.custom\_trust\_store.delete(strcustom\_origin\_trust\_store\_id, CustomTrustStoreDeleteParams\*\*kwargs) -> [CustomTrustStoreDeleteResponse](<https://developers.cloudflare.com/api/python/resources/acm#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom_trust_store_delete_response%20%3E%20(schema)>)

DELETE/zones/{zone\_id}/acm/custom\_trust\_store/{custom\_origin\_trust\_store\_id}

##### ModelsExpand Collapse

<details>

<summary>

class CustomTrustStore: …

</summary>

id: str

Certificate identifier tag.

maxLength36

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

certificate: str

The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported.

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

expires\_on: datetime

When the certificate expires.

formatdate-time

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

issuer: str

The certificate authority that issued the certificate.

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20issuer">Link to this property</a>

signature: str

The type of hash used for the certificate.

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

<details>

<summary>

status: Literal\["initializing", "pending\_deployment", "active", 3 more]

Status of the zone’s custom SSL.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"active"

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"expired"

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

updated\_at: datetime

When the certificate was last modified.

formatdate-time

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

uploaded\_on: datetime

When the certificate was uploaded to Cloudflare.

formatdate-time

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)%20%3E%20(property)%20uploaded_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)>)

<details>

<summary>

class CustomTrustStoreDeleteResponse: …

</summary>

id: Optional\[str]

Certificate identifier tag.

maxLength36

<a href="#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom_trust_store_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom_trust_store_delete_response%20%3E%20(schema)>)