Skip to content
Start here

Origin CA Certificates

List Certificates
origin_ca_certificates.list(OriginCACertificateListParams**kwargs) -> SyncV4PagePaginationArray[OriginCACertificate]
GET/certificates
Get Certificate
origin_ca_certificates.get(strcertificate_id) -> OriginCACertificate
GET/certificates/{certificate_id}
Create Certificate
origin_ca_certificates.create(OriginCACertificateCreateParams**kwargs) -> OriginCACertificate
POST/certificates
Revoke Certificate
origin_ca_certificates.delete(strcertificate_id) -> OriginCACertificateDeleteResponse
DELETE/certificates/{certificate_id}
ModelsExpand Collapse
class OriginCACertificate: …
id: Optional[str]

The x509 serial number of the Origin CA certificate.

certificate: Optional[str]

The Origin CA certificate. Will be newline-encoded.

csr: Optional[str]

The Certificate Signing Request (CSR). Must be newline-encoded.

expires_on: Optional[str]

When the certificate will expire.

hostnames: Optional[List[str]]

Array of hostnames or wildcard names bound to the certificate. Hostnames must be fully qualified domain names (FQDNs) belonging to zones on your account (e.g., example.com or sub.example.com). Wildcards are supported only as a *. prefix for a single level (e.g., *.example.com). Double wildcards (*.*.example.com) and interior wildcards (foo.*.example.com) are not allowed. The wildcard suffix must be a multi-label domain (*.example.com is valid, but *.com is not). Unicode/IDN hostnames are accepted and automatically converted to punycode.

request_type: Optional[CertificateRequestType]

Signature type desired on certificate (“origin-rsa” (rsa), “origin-ecc” (ecdsa), or “keyless-certificate” (for Keyless SSL servers).

requested_validity: Optional[Literal[7, 30, 90, 4 more]]

The number of days for which the certificate was requested to be valid. Only returned in the Create Certificate response, where it echoes the requested value. Not returned when getting or listing certificates.

One of the following:
7
30
90
365
730
1095
5475
revoked_at: Optional[datetime]

When the certificate was revoked.

formatdate-time
class OriginCACertificateDeleteResponse: …
id: Optional[str]

The x509 serial number of the Origin CA certificate.

revoked_at: Optional[datetime]

When the certificate was revoked.

formatdate-time