Skip to content
Start here

ACM

ACMTotal TLS

Total TLS Settings Details
client.ACM.TotalTLS.Get(ctx, query) (*TotalTLSGetResponse, error)
GET/zones/{zone_id}/acm/total_tls
Enable or Disable Total TLS
client.ACM.TotalTLS.Update(ctx, params) (*TotalTLSUpdateResponse, error)
POST/zones/{zone_id}/acm/total_tls
Enable or Disable Total TLS
client.ACM.TotalTLS.Edit(ctx, params) (*TotalTLSEditResponse, error)
POST/zones/{zone_id}/acm/total_tls
ModelsExpand Collapse
type CertificateAuthority string

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

One of the following:
const CertificateAuthorityGoogle CertificateAuthority = "google"
const CertificateAuthorityLetsEncrypt CertificateAuthority = "lets_encrypt"
const CertificateAuthoritySSLCom CertificateAuthority = "ssl_com"

ACMCustom Trust Store

List Custom Origin Trust Store Details
client.ACM.CustomTrustStore.List(ctx, params) (*V4PagePaginationArray[CustomTrustStore], error)
GET/zones/{zone_id}/acm/custom_trust_store
Upload Custom Origin Trust Store
client.ACM.CustomTrustStore.New(ctx, params) (*CustomTrustStore, error)
POST/zones/{zone_id}/acm/custom_trust_store
Custom Origin Trust Store Details
client.ACM.CustomTrustStore.Get(ctx, customOriginTrustStoreID, query) (*CustomTrustStore, error)
GET/zones/{zone_id}/acm/custom_trust_store/{custom_origin_trust_store_id}
Delete Custom Origin Trust Store
client.ACM.CustomTrustStore.Delete(ctx, customOriginTrustStoreID, body) (*CustomTrustStoreDeleteResponse, error)
DELETE/zones/{zone_id}/acm/custom_trust_store/{custom_origin_trust_store_id}
ModelsExpand Collapse
type CustomTrustStore struct{…}
ID string

Identifier.

maxLength32
Certificate string

The zone's SSL certificate or certificate and the intermediate(s).

ExpiresOn Time

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 CustomTrustStoreStatus

Status of the zone's custom SSL.

One of the following:
const CustomTrustStoreStatusInitializing CustomTrustStoreStatus = "initializing"
const CustomTrustStoreStatusPendingDeployment CustomTrustStoreStatus = "pending_deployment"
const CustomTrustStoreStatusActive CustomTrustStoreStatus = "active"
const CustomTrustStoreStatusPendingDeletion CustomTrustStoreStatus = "pending_deletion"
const CustomTrustStoreStatusDeleted CustomTrustStoreStatus = "deleted"
const CustomTrustStoreStatusExpired CustomTrustStoreStatus = "expired"
UpdatedAt Time

When the certificate was last modified.

formatdate-time
UploadedOn Time

When the certificate was uploaded to Cloudflare.

formatdate-time