---
title: Total TLS
---

[Skip to content](#_top)

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

[ACM](https://developers.cloudflare.com/api/typescript/resources/acm)

Copy Markdown

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

---

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

# Total TLS

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

client.acm.totalTLS.get(TotalTLSGetParams {zone\_id } params, RequestOptionsoptions?): [TotalTLSGetResponse](<https://developers.cloudflare.com/api/typescript/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_get_response%20%3E%20(schema)>) {certificate\_authority, enabled, validity\_period }

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

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

client.acm.totalTLS.update(TotalTLSUpdateParams {zone\_id, enabled, certificate\_authority } params, RequestOptionsoptions?): [TotalTLSUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_update_response%20%3E%20(schema)>) {certificate\_authority, enabled, validity\_period }

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

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

client.acm.totalTLS.edit(TotalTLSEditParams {zone\_id, enabled, certificate\_authority } params, RequestOptionsoptions?): [TotalTLSEditResponse](<https://developers.cloudflare.com/api/typescript/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20total_tls_edit_response%20%3E%20(schema)>) {certificate\_authority, enabled, validity\_period }

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

##### ModelsExpand Collapse

<details>

<summary>

CertificateAuthority = "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>

TotalTLSGetResponse {certificate\_authority, enabled, validity\_period }

</summary>

certificate\_authority?: <a href="https://developers.cloudflare.com/api/typescript/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)">CertificateAuthority</a>

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?: boolean

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?: 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>

TotalTLSUpdateResponse {certificate\_authority, enabled, validity\_period }

</summary>

certificate\_authority?: <a href="https://developers.cloudflare.com/api/typescript/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)">CertificateAuthority</a>

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?: boolean

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?: 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>

TotalTLSEditResponse {certificate\_authority, enabled, validity\_period }

</summary>

certificate\_authority?: <a href="https://developers.cloudflare.com/api/typescript/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)">CertificateAuthority</a>

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?: boolean

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?: 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)>)