Skip to content
Start here

Zone Certificates

List Certificates
origin_tls_client_auth.zone_certificates.list(ZoneCertificateListParams**kwargs) -> SyncSinglePage[ZoneCertificateListResponse]
GET/zones/{zone_id}/origin_tls_client_auth
Get Certificate Details
origin_tls_client_auth.zone_certificates.get(strcertificate_id, ZoneCertificateGetParams**kwargs) -> ZoneCertificateGetResponse
GET/zones/{zone_id}/origin_tls_client_auth/{certificate_id}
Upload Certificate
origin_tls_client_auth.zone_certificates.create(ZoneCertificateCreateParams**kwargs) -> ZoneCertificateCreateResponse
POST/zones/{zone_id}/origin_tls_client_auth
Delete Certificate
origin_tls_client_auth.zone_certificates.delete(strcertificate_id, ZoneCertificateDeleteParams**kwargs) -> ZoneCertificateDeleteResponse
DELETE/zones/{zone_id}/origin_tls_client_auth/{certificate_id}
ModelsExpand Collapse
class ZoneAuthenticatedOriginPull:
id: Optional[str]

Identifier.

maxLength32
certificate: Optional[str]

The zone's leaf certificate.

expires_on: Optional[datetime]

When the certificate from the authority expires.

formatdate-time
issuer: Optional[str]

The certificate authority that issued the certificate.

signature: Optional[str]

The type of hash used for the certificate.

status: Optional[Literal["initializing", "pending_deployment", "pending_deletion", 4 more]]

Status of the certificate activation.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deleted"
"deployment_timed_out"
"deletion_timed_out"
uploaded_on: Optional[datetime]

This is the time the certificate was uploaded.

formatdate-time
class ZoneCertificateListResponse:
id: Optional[str]

Identifier.

maxLength32
certificate: Optional[str]

The zone's leaf certificate.

enabled: Optional[bool]

Indicates whether zone-level authenticated origin pulls is enabled.

private_key: Optional[str]

The zone's private key.

class ZoneCertificateGetResponse:
id: Optional[str]

Identifier.

maxLength32
certificate: Optional[str]

The zone's leaf certificate.

enabled: Optional[bool]

Indicates whether zone-level authenticated origin pulls is enabled.

private_key: Optional[str]

The zone's private key.

class ZoneCertificateCreateResponse:
id: Optional[str]

Identifier.

maxLength32
certificate: Optional[str]

The zone's leaf certificate.

enabled: Optional[bool]

Indicates whether zone-level authenticated origin pulls is enabled.

private_key: Optional[str]

The zone's private key.

class ZoneCertificateDeleteResponse:
id: Optional[str]

Identifier.

maxLength32
certificate: Optional[str]

The zone's leaf certificate.

enabled: Optional[bool]

Indicates whether zone-level authenticated origin pulls is enabled.

private_key: Optional[str]

The zone's private key.