Skip to content
Start here

Origin TLS Client Auth

List Certificates
Deprecated
client.originTLSClientAuth.list(OriginTLSClientAuthListParams { zone_id } params, RequestOptionsoptions?): SinglePage<OriginTLSClientAuthListResponse { id, certificate, enabled, private_key } >
GET/zones/{zone_id}/origin_tls_client_auth
Get Certificate Details
Deprecated
client.originTLSClientAuth.get(stringcertificateId, OriginTLSClientAuthGetParams { zone_id } params, RequestOptionsoptions?): OriginTLSClientAuthGetResponse { id, certificate, enabled, private_key }
GET/zones/{zone_id}/origin_tls_client_auth/{certificate_id}
Upload Certificate
Deprecated
client.originTLSClientAuth.create(OriginTLSClientAuthCreateParams { zone_id, certificate, private_key } params, RequestOptionsoptions?): OriginTLSClientAuthCreateResponse { id, certificate, enabled, private_key }
POST/zones/{zone_id}/origin_tls_client_auth
Delete Certificate
Deprecated
client.originTLSClientAuth.delete(stringcertificateId, OriginTLSClientAuthDeleteParams { zone_id } params, RequestOptionsoptions?): OriginTLSClientAuthDeleteResponse { id, certificate, enabled, private_key }
DELETE/zones/{zone_id}/origin_tls_client_auth/{certificate_id}
ModelsExpand Collapse
OriginTLSClientAuthListResponse extends ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more } { id, certificate, enabled, private_key }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

private_key?: string

The zone's private key.

OriginTLSClientAuthGetResponse extends ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more } { id, certificate, enabled, private_key }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

private_key?: string

The zone's private key.

OriginTLSClientAuthCreateResponse extends ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more } { id, certificate, enabled, private_key }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

private_key?: string

The zone's private key.

OriginTLSClientAuthDeleteResponse extends ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more } { id, certificate, enabled, private_key }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

private_key?: string

The zone's private key.

Origin TLS Client AuthZone Certificates

List Certificates
client.originTLSClientAuth.zoneCertificates.list(ZoneCertificateListParams { zone_id } params, RequestOptionsoptions?): SinglePage<ZoneCertificateListResponse { id, certificate, enabled, private_key } >
GET/zones/{zone_id}/origin_tls_client_auth
Get Certificate Details
client.originTLSClientAuth.zoneCertificates.get(stringcertificateId, ZoneCertificateGetParams { zone_id } params, RequestOptionsoptions?): ZoneCertificateGetResponse { id, certificate, enabled, private_key }
GET/zones/{zone_id}/origin_tls_client_auth/{certificate_id}
Upload Certificate
client.originTLSClientAuth.zoneCertificates.create(ZoneCertificateCreateParams { zone_id, certificate, private_key } params, RequestOptionsoptions?): ZoneCertificateCreateResponse { id, certificate, enabled, private_key }
POST/zones/{zone_id}/origin_tls_client_auth
Delete Certificate
client.originTLSClientAuth.zoneCertificates.delete(stringcertificateId, ZoneCertificateDeleteParams { zone_id } params, RequestOptionsoptions?): ZoneCertificateDeleteResponse { id, certificate, enabled, private_key }
DELETE/zones/{zone_id}/origin_tls_client_auth/{certificate_id}
ModelsExpand Collapse
ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

expires_on?: string

When the certificate from the authority expires.

formatdate-time
issuer?: string

The certificate authority that issued the certificate.

signature?: string

The type of hash used for the certificate.

status?: "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?: string

This is the time the certificate was uploaded.

formatdate-time
ZoneCertificateListResponse extends ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more } { id, certificate, enabled, private_key }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

private_key?: string

The zone's private key.

ZoneCertificateGetResponse extends ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more } { id, certificate, enabled, private_key }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

private_key?: string

The zone's private key.

ZoneCertificateCreateResponse extends ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more } { id, certificate, enabled, private_key }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

private_key?: string

The zone's private key.

ZoneCertificateDeleteResponse extends ZoneAuthenticatedOriginPull { id, certificate, expires_on, 4 more } { id, certificate, enabled, private_key }
id?: string

Identifier.

maxLength32
certificate?: string

The zone's leaf certificate.

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

private_key?: string

The zone's private key.

Origin TLS Client AuthHostnames

Get the Hostname Status for Client Authentication
client.originTLSClientAuth.hostnames.get(stringhostname, HostnameGetParams { zone_id } params, RequestOptionsoptions?): AuthenticatedOriginPull { cert_id, cert_status, cert_updated_at, 11 more }
GET/zones/{zone_id}/origin_tls_client_auth/hostnames/{hostname}
Enable or Disable a Hostname for Client Authentication
client.originTLSClientAuth.hostnames.update(HostnameUpdateParams { zone_id, config } params, RequestOptionsoptions?): SinglePage<HostnameUpdateResponse { id, cert_id, certificate, 3 more } >
PUT/zones/{zone_id}/origin_tls_client_auth/hostnames
ModelsExpand Collapse
AuthenticatedOriginPull { cert_id, cert_status, cert_updated_at, 11 more }
cert_id?: string

Identifier.

maxLength32
cert_status?: "initializing" | "pending_deployment" | "pending_deletion" | 4 more

Status of the certificate or the association.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deleted"
"deployment_timed_out"
"deletion_timed_out"
cert_updated_at?: string

The time when the certificate was updated.

formatdate-time
cert_uploaded_on?: string

The time when the certificate was uploaded.

formatdate-time
certificate?: string

The hostname certificate.

created_at?: string

The time when the certificate was created.

formatdate-time
enabled?: boolean | null

Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.

expires_on?: string

The date when the certificate expires.

formatdate-time
hostname?: string

The hostname on the origin for which the client certificate uploaded will be used.

maxLength255
issuer?: string

The certificate authority that issued the certificate.

serial_number?: string

The serial number on the uploaded certificate.

signature?: string

The type of hash used for the certificate.

status?: "initializing" | "pending_deployment" | "pending_deletion" | 4 more

Status of the certificate or the association.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deleted"
"deployment_timed_out"
"deletion_timed_out"
updated_at?: string

The time when the certificate was updated.

formatdate-time
HostnameUpdateResponse extends AuthenticatedOriginPull { cert_id, cert_status, cert_updated_at, 11 more } { id, cert_id, certificate, 3 more }
id?: string

Identifier.

maxLength32
cert_id?: string

Identifier.

maxLength32
certificate?: string

The hostname certificate.

enabled?: boolean | null

Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.

hostname?: string

The hostname on the origin for which the client certificate uploaded will be used.

maxLength255
private_key?: string

The hostname certificate's private key.

Origin TLS Client AuthHostname Certificates

List Certificates
client.originTLSClientAuth.hostnameCertificates.list(HostnameCertificateListParams { zone_id } params, RequestOptionsoptions?): SinglePage<HostnameCertificateListResponse { id, certificate, expires_on, 5 more } >
GET/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates
Get the Hostname Client Certificate
client.originTLSClientAuth.hostnameCertificates.get(stringcertificateId, HostnameCertificateGetParams { zone_id } params, RequestOptionsoptions?): HostnameCertificateGetResponse { id, certificate, expires_on, 5 more }
GET/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificate_id}
Upload a Hostname Client Certificate
client.originTLSClientAuth.hostnameCertificates.create(HostnameCertificateCreateParams { zone_id, certificate, private_key } params, RequestOptionsoptions?): HostnameCertificateCreateResponse { id, certificate, expires_on, 5 more }
POST/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates
Delete Hostname Client Certificate
client.originTLSClientAuth.hostnameCertificates.delete(stringcertificateId, HostnameCertificateDeleteParams { zone_id } params, RequestOptionsoptions?): HostnameCertificateDeleteResponse { id, certificate, expires_on, 5 more }
DELETE/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificate_id}
ModelsExpand Collapse
Certificate { id, certificate, expires_on, 5 more }
id?: string

Identifier.

maxLength32
certificate?: string

The hostname certificate.

expires_on?: string

The date when the certificate expires.

formatdate-time
issuer?: string

The certificate authority that issued the certificate.

serial_number?: string

The serial number on the uploaded certificate.

signature?: string

The type of hash used for the certificate.

status?: "initializing" | "pending_deployment" | "pending_deletion" | 4 more

Status of the certificate or the association.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deleted"
"deployment_timed_out"
"deletion_timed_out"
uploaded_on?: string

The time when the certificate was uploaded.

formatdate-time
HostnameCertificateListResponse { id, certificate, expires_on, 5 more }
id?: string

Identifier.

maxLength32
certificate?: string

The hostname certificate.

expires_on?: string

The date when the certificate expires.

formatdate-time
issuer?: string

The certificate authority that issued the certificate.

serial_number?: string

The serial number on the uploaded certificate.

signature?: string

The type of hash used for the certificate.

status?: "initializing" | "pending_deployment" | "pending_deletion" | 4 more

Status of the certificate or the association.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deleted"
"deployment_timed_out"
"deletion_timed_out"
uploaded_on?: string

The time when the certificate was uploaded.

formatdate-time
HostnameCertificateGetResponse { id, certificate, expires_on, 5 more }
id?: string

Identifier.

maxLength32
certificate?: string

The hostname certificate.

expires_on?: string

The date when the certificate expires.

formatdate-time
issuer?: string

The certificate authority that issued the certificate.

serial_number?: string

The serial number on the uploaded certificate.

signature?: string

The type of hash used for the certificate.

status?: "initializing" | "pending_deployment" | "pending_deletion" | 4 more

Status of the certificate or the association.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deleted"
"deployment_timed_out"
"deletion_timed_out"
uploaded_on?: string

The time when the certificate was uploaded.

formatdate-time
HostnameCertificateCreateResponse { id, certificate, expires_on, 5 more }
id?: string

Identifier.

maxLength32
certificate?: string

The hostname certificate.

expires_on?: string

The date when the certificate expires.

formatdate-time
issuer?: string

The certificate authority that issued the certificate.

serial_number?: string

The serial number on the uploaded certificate.

signature?: string

The type of hash used for the certificate.

status?: "initializing" | "pending_deployment" | "pending_deletion" | 4 more

Status of the certificate or the association.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deleted"
"deployment_timed_out"
"deletion_timed_out"
uploaded_on?: string

The time when the certificate was uploaded.

formatdate-time
HostnameCertificateDeleteResponse { id, certificate, expires_on, 5 more }
id?: string

Identifier.

maxLength32
certificate?: string

The hostname certificate.

expires_on?: string

The date when the certificate expires.

formatdate-time
issuer?: string

The certificate authority that issued the certificate.

serial_number?: string

The serial number on the uploaded certificate.

signature?: string

The type of hash used for the certificate.

status?: "initializing" | "pending_deployment" | "pending_deletion" | 4 more

Status of the certificate or the association.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deleted"
"deployment_timed_out"
"deletion_timed_out"
uploaded_on?: string

The time when the certificate was uploaded.

formatdate-time

Origin TLS Client AuthSettings

Get Enablement Setting for Zone
client.originTLSClientAuth.settings.get(SettingGetParams { zone_id } params, RequestOptionsoptions?): SettingGetResponse { enabled }
GET/zones/{zone_id}/origin_tls_client_auth/settings
Set Enablement for Zone
client.originTLSClientAuth.settings.update(SettingUpdateParams { zone_id, enabled } params, RequestOptionsoptions?): SettingUpdateResponse { enabled }
PUT/zones/{zone_id}/origin_tls_client_auth/settings
ModelsExpand Collapse
SettingGetResponse { enabled }
enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

SettingUpdateResponse { enabled }
enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.