Skip to content
Start here

Hostname Associations

List Hostname Associations
client.CertificateAuthorities.HostnameAssociations.Get(ctx, params) (*HostnameAssociationGetResponse, error)
GET/zones/{zone_id}/certificate_authorities/hostname_associations
Replace Hostname Associations
client.CertificateAuthorities.HostnameAssociations.Update(ctx, params) (*HostnameAssociationUpdateResponse, error)
PUT/zones/{zone_id}/certificate_authorities/hostname_associations
ModelsExpand Collapse
type HostnameAssociation string
type TLSHostnameAssociation struct{…}
Hostnames []HostnameAssociationoptional
MTLSCertificateID stringoptional

The UUID for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtls_certificate_id is given, the hostnames will be associated to your active Cloudflare Managed CA.

maxLength36
minLength36