---
title: ACM
---

[Skip to content](#_top)

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

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/go/resources/acm/subresources/total_tls/methods/get)

client.ACM.TotalTLS.Get(ctx, query) (\*[TotalTLSGetResponse](<https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20TotalTLSGetResponse%20%3E%20(schema)>), error)

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

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

client.ACM.TotalTLS.Update(ctx, params) (\*[TotalTLSUpdateResponse](<https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20TotalTLSUpdateResponse%20%3E%20(schema)>), error)

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

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

client.ACM.TotalTLS.Edit(ctx, params) (\*[TotalTLSEditResponse](<https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20TotalTLSEditResponse%20%3E%20(schema)>), error)

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

##### ModelsExpand Collapse

<details>

<summary>

type CertificateAuthority string

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

</summary>

One of the following:

const CertificateAuthorityGoogle <a href="https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)">CertificateAuthority</a> = "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>

const CertificateAuthorityLetsEncrypt <a href="https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)">CertificateAuthority</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>

const CertificateAuthoritySSLCom <a href="https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.total_tls%20%3E%20(model)%20certificate_authority%20%3E%20(schema)">CertificateAuthority</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)>)

#### ACMCustom Trust Store

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

client.ACM.CustomTrustStore.List(ctx, params) (\*V4PagePaginationArray\[[CustomTrustStore](<https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)>)], error)

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

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

client.ACM.CustomTrustStore.New(ctx, params) (\*[CustomTrustStore](<https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)>), error)

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

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

client.ACM.CustomTrustStore.Get(ctx, customOriginTrustStoreID, query) (\*[CustomTrustStore](<https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.custom_trust_store%20%3E%20(model)%20custom-trust-store%20%3E%20(schema)>), error)

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

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

client.ACM.CustomTrustStore.Delete(ctx, customOriginTrustStoreID, body) (\*[CustomTrustStoreDeleteResponse](<https://developers.cloudflare.com/api/go/resources/acm#(resource)%20acm.custom_trust_store%20%3E%20(model)%20CustomTrustStoreDeleteResponse%20%3E%20(schema)>), error)

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

##### ModelsExpand Collapse

<details>

<summary>

type CustomTrustStore struct{…}

</summary>

ID string

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 string

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>

ExpiresOn Time

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 string

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 string

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 CustomTrustStoreStatus

Status of the zone’s custom SSL.

</summary>

One of the following:

const CustomTrustStoreStatusInitializing CustomTrustStoreStatus = "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>

const CustomTrustStoreStatusPendingDeployment CustomTrustStoreStatus = "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>

const CustomTrustStoreStatusActive CustomTrustStoreStatus = "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>

const CustomTrustStoreStatusPendingDeletion CustomTrustStoreStatus = "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>

const CustomTrustStoreStatusDeleted CustomTrustStoreStatus = "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>

const CustomTrustStoreStatusExpired CustomTrustStoreStatus = "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>

UpdatedAt Time

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>

UploadedOn Time

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