---
title: ACM
---

[Skip to content](#%5Ftop) 

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

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/typescript/resources/acm/subresources/total%5Ftls/methods/get)

client.acm.totalTLS.get(TotalTLSGetParams { zone\_id } params, RequestOptionsoptions?): [TotalTLSGetResponse](https://developers.cloudflare.com/api/typescript/resources/acm#%28resource%29%20acm.total%5Ftls%20%3E%20%28model%29%20total%5Ftls%5Fget%5Fresponse%20%3E%20%28schema%29) { 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%5Ftls/methods/update)

client.acm.totalTLS.update(TotalTLSUpdateParams { zone\_id, enabled, certificate\_authority } params, RequestOptionsoptions?): [TotalTLSUpdateResponse](https://developers.cloudflare.com/api/typescript/resources/acm#%28resource%29%20acm.total%5Ftls%20%3E%20%28model%29%20total%5Ftls%5Fupdate%5Fresponse%20%3E%20%28schema%29) { 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%5Ftls/methods/edit)

client.acm.totalTLS.edit(TotalTLSEditParams { zone\_id, enabled, certificate\_authority } params, RequestOptionsoptions?): [TotalTLSEditResponse](https://developers.cloudflare.com/api/typescript/resources/acm#%28resource%29%20acm.total%5Ftls%20%3E%20%28model%29%20total%5Ftls%5Fedit%5Fresponse%20%3E%20%28schema%29) { certificate\_authority, enabled, validity\_period } 

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

##### ModelsExpand Collapse 

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

certificate\_authority?: "google" | "lets\_encrypt" | "ssl\_com"

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

One of the following:

"google"

"lets\_encrypt"

"ssl\_com"

enabled?: boolean

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

validity\_period?: 90

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

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

certificate\_authority?: "google" | "lets\_encrypt" | "ssl\_com"

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

One of the following:

"google"

"lets\_encrypt"

"ssl\_com"

enabled?: boolean

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

validity\_period?: 90

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

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

certificate\_authority?: "google" | "lets\_encrypt" | "ssl\_com"

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

One of the following:

"google"

"lets\_encrypt"

"ssl\_com"

enabled?: boolean

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

validity\_period?: 90

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

#### ACMCustom Trust Store

##### [List Custom Origin Trust Store Details](https://developers.cloudflare.com/api/typescript/resources/acm/subresources/custom%5Ftrust%5Fstore/methods/list)

client.acm.customTrustStore.list(CustomTrustStoreListParams { zone\_id, limit, offset, 2 more } params, RequestOptionsoptions?): V4PagePaginationArray<[CustomTrustStore](https://developers.cloudflare.com/api/typescript/resources/acm#%28resource%29%20acm.custom%5Ftrust%5Fstore%20%3E%20%28model%29%20custom-trust-store%20%3E%20%28schema%29) { id, certificate, expires\_on, 5 more } \>

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

##### [Upload Custom Origin Trust Store](https://developers.cloudflare.com/api/typescript/resources/acm/subresources/custom%5Ftrust%5Fstore/methods/create)

client.acm.customTrustStore.create(CustomTrustStoreCreateParams { zone\_id, certificate } params, RequestOptionsoptions?): [CustomTrustStore](https://developers.cloudflare.com/api/typescript/resources/acm#%28resource%29%20acm.custom%5Ftrust%5Fstore%20%3E%20%28model%29%20custom-trust-store%20%3E%20%28schema%29) { id, certificate, expires\_on, 5 more } 

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

##### [Custom Origin Trust Store Details](https://developers.cloudflare.com/api/typescript/resources/acm/subresources/custom%5Ftrust%5Fstore/methods/get)

client.acm.customTrustStore.get(stringcustomOriginTrustStoreID, CustomTrustStoreGetParams { zone\_id } params, RequestOptionsoptions?): [CustomTrustStore](https://developers.cloudflare.com/api/typescript/resources/acm#%28resource%29%20acm.custom%5Ftrust%5Fstore%20%3E%20%28model%29%20custom-trust-store%20%3E%20%28schema%29) { id, certificate, expires\_on, 5 more } 

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

##### [Delete Custom Origin Trust Store](https://developers.cloudflare.com/api/typescript/resources/acm/subresources/custom%5Ftrust%5Fstore/methods/delete)

client.acm.customTrustStore.delete(stringcustomOriginTrustStoreID, CustomTrustStoreDeleteParams { zone\_id } params, RequestOptionsoptions?): [CustomTrustStoreDeleteResponse](https://developers.cloudflare.com/api/typescript/resources/acm#%28resource%29%20acm.custom%5Ftrust%5Fstore%20%3E%20%28model%29%20custom%5Ftrust%5Fstore%5Fdelete%5Fresponse%20%3E%20%28schema%29) { id } 

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

##### ModelsExpand Collapse 

CustomTrustStore { id, certificate, expires\_on, 5 more } 

id: string

Identifier.

maxLength32

certificate: string

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

expires\_on: string

When the certificate expires.

formatdate-time

issuer: string

The certificate authority that issued the certificate.

signature: string

The type of hash used for the certificate.

status: "initializing" | "pending\_deployment" | "active" | 3 more

Status of the zone’s custom SSL.

One of the following:

"initializing"

"pending\_deployment"

"active"

"pending\_deletion"

"deleted"

"expired"

updated\_at: string

When the certificate was last modified.

formatdate-time

uploaded\_on: string

When the certificate was uploaded to Cloudflare.

formatdate-time

CustomTrustStoreDeleteResponse { id } 

id?: string

Identifier.

maxLength32