Skip to content
Start here

SSL

SSLAnalyze

Analyze Certificate
client.ssl.analyze.create(AnalyzeCreateParams { zone_id, bundle_method, certificate } params, RequestOptionsoptions?): AnalyzeCreateResponse
POST/zones/{zone_id}/ssl/analyze
ModelsExpand Collapse
AnalyzeCreateResponse = unknown

SSLCertificate Packs

List Certificate Packs
client.ssl.certificatePacks.list(CertificatePackListParams { zone_id, deploy, page, 2 more } params, RequestOptionsoptions?): V4PagePaginationArray<CertificatePackListResponse { id, certificates, hosts, 10 more } >
GET/zones/{zone_id}/ssl/certificate_packs
Get Certificate Pack
client.ssl.certificatePacks.get(stringcertificatePackID, CertificatePackGetParams { zone_id } params, RequestOptionsoptions?): CertificatePackGetResponse { id, certificates, hosts, 10 more }
GET/zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}
Order Advanced Certificate Manager Certificate Pack
client.ssl.certificatePacks.create(CertificatePackCreateParams { zone_id, certificate_authority, hosts, 4 more } params, RequestOptionsoptions?): CertificatePackCreateResponse { id, certificates, hosts, 10 more }
POST/zones/{zone_id}/ssl/certificate_packs/order
Restart Validation or Update Advanced Certificate Manager Certificate Pack
client.ssl.certificatePacks.edit(stringcertificatePackID, CertificatePackEditParams { zone_id, cloudflare_branding } params, RequestOptionsoptions?): CertificatePackEditResponse { id, certificates, hosts, 10 more }
PATCH/zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}
Delete Advanced Certificate Manager Certificate Pack
client.ssl.certificatePacks.delete(stringcertificatePackID, CertificatePackDeleteParams { zone_id } params, RequestOptionsoptions?): CertificatePackDeleteResponse { id }
DELETE/zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}
ModelsExpand Collapse
RequestValidity = 7 | 30 | 90 | 4 more

The number of days for which the certificate should be valid.

One of the following:
7
30
90
365
730
1095
5475
CertificatePackListResponse { id, certificates, hosts, 10 more }

A certificate pack with all its properties.

id: string

Identifier.

maxLength32
certificates: Array<Certificate>

Array of certificates in this pack.

id: string

Certificate identifier.

hosts: Array<string>

Hostnames covered by this certificate.

status: string

Certificate status.

bundle_method?: string

Certificate bundle method.

expires_on?: string

When the certificate from the authority expires.

formatdate-time
geo_restrictions?: GeoRestrictions { label }

Specify the region where your private key can be held locally.

label?: "us" | "eu" | "highest_security"
One of the following:
"us"
"eu"
"highest_security"
issuer?: string

The certificate authority that issued the certificate.

modified_on?: string

When the certificate was last modified.

formatdate-time
priority?: number

The order/priority in which the certificate will be used.

signature?: string

The type of hash used for the certificate.

uploaded_on?: string

When the certificate was uploaded to Cloudflare.

formatdate-time
zone_id?: string

Identifier.

maxLength32
hosts: Array<string>

Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.

status: "initializing" | "pending_validation" | "deleted" | 18 more

Status of certificate pack.

One of the following:
"initializing"
"pending_validation"
"deleted"
"pending_issuance"
"pending_deployment"
"pending_deletion"
"pending_expiration"
"expired"
"active"