---
title: Origin TLS Client Auth
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Origin TLS Client Auth

##### [List Certificates](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/methods/list)

Deprecated

client.originTLSClientAuth.list(OriginTLSClientAuthListParams {zone\_id } params, RequestOptionsoptions?): SinglePage< [OriginTLSClientAuthListResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_list_response%20%3E%20(schema)>) {id, certificate, enabled, private\_key } >

GET/zones/{zone\_id}/origin\_tls\_client\_auth

##### [Get Certificate Details](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/methods/get)

Deprecated

client.originTLSClientAuth.get(stringcertificateID, OriginTLSClientAuthGetParams {zone\_id } params, RequestOptionsoptions?): [OriginTLSClientAuthGetResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_get_response%20%3E%20(schema)>) {id, certificate, enabled, private\_key }

GET/zones/{zone\_id}/origin\_tls\_client\_auth/{certificate\_id}

##### [Upload Certificate](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/methods/create)

Deprecated

client.originTLSClientAuth.create(OriginTLSClientAuthCreateParams {zone\_id, certificate, private\_key } params, RequestOptionsoptions?): [OriginTLSClientAuthCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_create_response%20%3E%20(schema)>) {id, certificate, enabled, private\_key }

POST/zones/{zone\_id}/origin\_tls\_client\_auth

##### [Delete Certificate](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/methods/delete)

Deprecated

client.originTLSClientAuth.delete(stringcertificateID, OriginTLSClientAuthDeleteParams {zone\_id } params, RequestOptionsoptions?): [OriginTLSClientAuthDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_delete_response%20%3E%20(schema)>) {id, certificate, enabled, private\_key }

DELETE/zones/{zone\_id}/origin\_tls\_client\_auth/{certificate\_id}

##### ModelsExpand Collapse

<details>

<summary>

OriginTLSClientAuthListResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)">ZoneAuthenticatedOriginPull</a> {id, certificate, expires\_on, 4 more } {id, certificate, enabled, private\_key }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_list_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_list_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_list_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

private\_key?: string

The zone’s private key.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_list_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_list_response%20%3E%20(schema)>)

<details>

<summary>

OriginTLSClientAuthGetResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)">ZoneAuthenticatedOriginPull</a> {id, certificate, expires\_on, 4 more } {id, certificate, enabled, private\_key }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_get_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_get_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_get_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

private\_key?: string

The zone’s private key.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_get_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_get_response%20%3E%20(schema)>)

<details>

<summary>

OriginTLSClientAuthCreateResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)">ZoneAuthenticatedOriginPull</a> {id, certificate, expires\_on, 4 more } {id, certificate, enabled, private\_key }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_create_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_create_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_create_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

private\_key?: string

The zone’s private key.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_create_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_create_response%20%3E%20(schema)>)

<details>

<summary>

OriginTLSClientAuthDeleteResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)">ZoneAuthenticatedOriginPull</a> {id, certificate, expires\_on, 4 more } {id, certificate, enabled, private\_key }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_delete_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_delete_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_delete_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

private\_key?: string

The zone’s private key.

<a href="#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_delete_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth%20%3E%20(model)%20origin_tls_client_auth_delete_response%20%3E%20(schema)>)

#### Origin TLS Client AuthZone Certificates

##### [List Certificates](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/zone_certificates/methods/list)

client.originTLSClientAuth.zoneCertificates.list(ZoneCertificateListParams {zone\_id } params, RequestOptionsoptions?): SinglePage< [ZoneCertificateListResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_list_response%20%3E%20(schema)>) {id, certificate, enabled, private\_key } >

GET/zones/{zone\_id}/origin\_tls\_client\_auth

##### [Get Certificate Details](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/zone_certificates/methods/get)

client.originTLSClientAuth.zoneCertificates.get(stringcertificateID, ZoneCertificateGetParams {zone\_id } params, RequestOptionsoptions?): [ZoneCertificateGetResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_get_response%20%3E%20(schema)>) {id, certificate, enabled, private\_key }

GET/zones/{zone\_id}/origin\_tls\_client\_auth/{certificate\_id}

##### [Upload Certificate](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/zone_certificates/methods/create)

client.originTLSClientAuth.zoneCertificates.create(ZoneCertificateCreateParams {zone\_id, certificate, private\_key } params, RequestOptionsoptions?): [ZoneCertificateCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_create_response%20%3E%20(schema)>) {id, certificate, enabled, private\_key }

POST/zones/{zone\_id}/origin\_tls\_client\_auth

##### [Delete Certificate](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/zone_certificates/methods/delete)

client.originTLSClientAuth.zoneCertificates.delete(stringcertificateID, ZoneCertificateDeleteParams {zone\_id } params, RequestOptionsoptions?): [ZoneCertificateDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_delete_response%20%3E%20(schema)>) {id, certificate, enabled, private\_key }

DELETE/zones/{zone\_id}/origin\_tls\_client\_auth/{certificate\_id}

##### ModelsExpand Collapse

<details>

<summary>

ZoneAuthenticatedOriginPull {id, certificate, expires\_on, 4 more }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

expires\_on?: string

When the certificate from the authority expires.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

issuer?: string

The certificate authority that issued the certificate.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20issuer">Link to this property</a>

signature?: string

The type of hash used for the certificate.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

<details>

<summary>

status?: "initializing"| "pending\_deployment"| "pending\_deletion"| 4 more

Status of the certificate activation.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"active"

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

uploaded\_on?: string

This is the time the certificate was uploaded.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20uploaded_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)>)

<details>

<summary>

ZoneCertificateListResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)">ZoneAuthenticatedOriginPull</a> {id, certificate, expires\_on, 4 more } {id, certificate, enabled, private\_key }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_list_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_list_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_list_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

private\_key?: string

The zone’s private key.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_list_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_list_response%20%3E%20(schema)>)

<details>

<summary>

ZoneCertificateGetResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)">ZoneAuthenticatedOriginPull</a> {id, certificate, expires\_on, 4 more } {id, certificate, enabled, private\_key }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_get_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_get_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_get_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

private\_key?: string

The zone’s private key.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_get_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_get_response%20%3E%20(schema)>)

<details>

<summary>

ZoneCertificateCreateResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)">ZoneAuthenticatedOriginPull</a> {id, certificate, expires\_on, 4 more } {id, certificate, enabled, private\_key }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_create_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_create_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_create_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

private\_key?: string

The zone’s private key.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_create_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_create_response%20%3E%20(schema)>)

<details>

<summary>

ZoneCertificateDeleteResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_authenticated_origin_pull%20%3E%20(schema)">ZoneAuthenticatedOriginPull</a> {id, certificate, expires\_on, 4 more } {id, certificate, enabled, private\_key }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_delete_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The zone’s leaf certificate.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_delete_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_delete_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

private\_key?: string

The zone’s private key.

<a href="#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_delete_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20zone_certificate_delete_response%20%3E%20(schema)>)

#### Origin TLS Client AuthHostnames

##### [Get the Hostname Status for Client Authentication](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/hostnames/methods/get)

client.originTLSClientAuth.hostnames.get(stringhostname, HostnameGetParams {zone\_id } params, RequestOptionsoptions?): [AuthenticatedOriginPull](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)>) {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](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/hostnames/methods/update)

client.originTLSClientAuth.hostnames.update(HostnameUpdateParams {zone\_id, config } params, RequestOptionsoptions?): SinglePage< [HostnameUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20hostname_update_response%20%3E%20(schema)>) {id, cert\_id, certificate, 3 more } >

PUT/zones/{zone\_id}/origin\_tls\_client\_auth/hostnames

##### ModelsExpand Collapse

<details>

<summary>

AuthenticatedOriginPull {cert\_id, cert\_status, cert\_updated\_at, 11 more }

</summary>

cert\_id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_id">Link to this property</a>

<details>

<summary>

cert\_status?: "initializing"| "pending\_deployment"| "pending\_deletion"| 4 more

Status of the certificate or the association.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_status%20%3E%20(member)%201">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_status%20%3E%20(member)%202">Link to this property</a>

"active"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_status%20%3E%20(member)%204">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_status%20%3E%20(member)%205">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_status">Link to this property</a>

cert\_updated\_at?: string

The time when the certificate was updated.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_updated_at">Link to this property</a>

cert\_uploaded\_on?: string

The time when the certificate was uploaded.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20cert_uploaded_on">Link to this property</a>

certificate?: string

The hostname certificate.

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

created\_at?: string

The time when the certificate was created.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

enabled?: boolean| null

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

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

expires\_on?: string

The date when the certificate expires.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

hostname?: string

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

maxLength255

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20hostname">Link to this property</a>

issuer?: string

The certificate authority that issued the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20issuer">Link to this property</a>

serial\_number?: string

The serial number on the uploaded certificate.

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

signature?: string

The type of hash used for the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

<details>

<summary>

status?: "initializing"| "pending\_deployment"| "pending\_deletion"| 4 more

Status of the certificate or the association.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"active"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

updated\_at?: string

The time when the certificate was updated.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)>)

<details>

<summary>

HostnameUpdateResponse extends <a href="https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20authenticated_origin_pull%20%3E%20(schema)">AuthenticatedOriginPull</a> {cert\_id, cert\_status, cert\_updated\_at, 11 more } {id, cert\_id, certificate, 3 more }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20hostname_update_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

cert\_id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20hostname_update_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20cert_id">Link to this property</a>

certificate?: string

The hostname certificate.

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20hostname_update_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20certificate">Link to this property</a>

enabled?: boolean| null

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

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20hostname_update_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

hostname?: string

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

maxLength255

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20hostname_update_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20hostname">Link to this property</a>

private\_key?: string

The hostname certificate’s private key.

<a href="#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20hostname_update_response%20%3E%20(schema)%20%3E%20(entry)%201%20%3E%20(property)%20private_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.hostnames%20%3E%20(model)%20hostname_update_response%20%3E%20(schema)>)

#### Origin TLS Client AuthHostname Certificates

##### [List Certificates](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/hostname_certificates/methods/list)

client.originTLSClientAuth.hostnameCertificates.list(HostnameCertificateListParams {zone\_id } params, RequestOptionsoptions?): SinglePage< [HostnameCertificateListResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)>) {id, certificate, expires\_on, 5 more } >

GET/zones/{zone\_id}/origin\_tls\_client\_auth/hostnames/certificates

##### [Get the Hostname Client Certificate](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/hostname_certificates/methods/get)

client.originTLSClientAuth.hostnameCertificates.get(stringcertificateID, HostnameCertificateGetParams {zone\_id } params, RequestOptionsoptions?): [HostnameCertificateGetResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)>) {id, certificate, expires\_on, 5 more }

GET/zones/{zone\_id}/origin\_tls\_client\_auth/hostnames/certificates/{certificate\_id}

##### [Upload a Hostname Client Certificate](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/hostname_certificates/methods/create)

client.originTLSClientAuth.hostnameCertificates.create(HostnameCertificateCreateParams {zone\_id, certificate, private\_key } params, RequestOptionsoptions?): [HostnameCertificateCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)>) {id, certificate, expires\_on, 5 more }

POST/zones/{zone\_id}/origin\_tls\_client\_auth/hostnames/certificates

##### [Delete Hostname Client Certificate](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/hostname_certificates/methods/delete)

client.originTLSClientAuth.hostnameCertificates.delete(stringcertificateID, HostnameCertificateDeleteParams {zone\_id } params, RequestOptionsoptions?): [HostnameCertificateDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)>) {id, certificate, expires\_on, 5 more }

DELETE/zones/{zone\_id}/origin\_tls\_client\_auth/hostnames/certificates/{certificate\_id}

##### ModelsExpand Collapse

<details>

<summary>

Certificate {id, certificate, expires\_on, 5 more }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The hostname certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

expires\_on?: string

The date when the certificate expires.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

issuer?: string

The certificate authority that issued the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20issuer">Link to this property</a>

serial\_number?: string

The serial number on the uploaded certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

signature?: string

The type of hash used for the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

<details>

<summary>

status?: "initializing"| "pending\_deployment"| "pending\_deletion"| 4 more

Status of the certificate or the association.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"active"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

uploaded\_on?: string

The time when the certificate was uploaded.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)%20%3E%20(property)%20uploaded_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20certificate%20%3E%20(schema)>)

<details>

<summary>

HostnameCertificateListResponse {id, certificate, expires\_on, 5 more }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The hostname certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

expires\_on?: string

The date when the certificate expires.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

issuer?: string

The certificate authority that issued the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20issuer">Link to this property</a>

serial\_number?: string

The serial number on the uploaded certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

signature?: string

The type of hash used for the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

<details>

<summary>

status?: "initializing"| "pending\_deployment"| "pending\_deletion"| 4 more

Status of the certificate or the association.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"active"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

uploaded\_on?: string

The time when the certificate was uploaded.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)%20%3E%20(property)%20uploaded_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_list_response%20%3E%20(schema)>)

<details>

<summary>

HostnameCertificateGetResponse {id, certificate, expires\_on, 5 more }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The hostname certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

expires\_on?: string

The date when the certificate expires.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

issuer?: string

The certificate authority that issued the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20issuer">Link to this property</a>

serial\_number?: string

The serial number on the uploaded certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

signature?: string

The type of hash used for the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

<details>

<summary>

status?: "initializing"| "pending\_deployment"| "pending\_deletion"| 4 more

Status of the certificate or the association.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"active"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

uploaded\_on?: string

The time when the certificate was uploaded.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)%20%3E%20(property)%20uploaded_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_get_response%20%3E%20(schema)>)

<details>

<summary>

HostnameCertificateCreateResponse {id, certificate, expires\_on, 5 more }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The hostname certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

expires\_on?: string

The date when the certificate expires.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

issuer?: string

The certificate authority that issued the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20issuer">Link to this property</a>

serial\_number?: string

The serial number on the uploaded certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

signature?: string

The type of hash used for the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

<details>

<summary>

status?: "initializing"| "pending\_deployment"| "pending\_deletion"| 4 more

Status of the certificate or the association.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"active"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

uploaded\_on?: string

The time when the certificate was uploaded.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)%20%3E%20(property)%20uploaded_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_create_response%20%3E%20(schema)>)

<details>

<summary>

HostnameCertificateDeleteResponse {id, certificate, expires\_on, 5 more }

</summary>

id?: string

Certificate identifier tag.

maxLength36

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

certificate?: string

The hostname certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

expires\_on?: string

The date when the certificate expires.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20expires_on">Link to this property</a>

issuer?: string

The certificate authority that issued the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20issuer">Link to this property</a>

serial\_number?: string

The serial number on the uploaded certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20serial_number">Link to this property</a>

signature?: string

The type of hash used for the certificate.

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20signature">Link to this property</a>

<details>

<summary>

status?: "initializing"| "pending\_deployment"| "pending\_deletion"| 4 more

Status of the certificate or the association.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"active"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"deleted"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

uploaded\_on?: string

The time when the certificate was uploaded.

formatdate-time

<a href="#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)%20%3E%20(property)%20uploaded_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.hostname_certificates%20%3E%20(model)%20hostname_certificate_delete_response%20%3E%20(schema)>)

#### Origin TLS Client AuthSettings

##### [Get Enablement Setting for Zone](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/settings/methods/get)

client.originTLSClientAuth.settings.get(SettingGetParams {zone\_id } params, RequestOptionsoptions?): [SettingGetResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.settings%20%3E%20(model)%20setting_get_response%20%3E%20(schema)>) {enabled }

GET/zones/{zone\_id}/origin\_tls\_client\_auth/settings

##### [Set Enablement for Zone](https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth/subresources/settings/methods/update)

client.originTLSClientAuth.settings.update(SettingUpdateParams {zone\_id, enabled } params, RequestOptionsoptions?): [SettingUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.settings%20%3E%20(model)%20setting_update_response%20%3E%20(schema)>) {enabled }

PUT/zones/{zone\_id}/origin\_tls\_client\_auth/settings

##### ModelsExpand Collapse

<details>

<summary>

SettingGetResponse {enabled }

</summary>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth.settings%20%3E%20(model)%20setting_get_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.settings%20%3E%20(model)%20setting_get_response%20%3E%20(schema)>)

<details>

<summary>

SettingUpdateResponse {enabled }

</summary>

enabled?: boolean

Indicates whether zone-level authenticated origin pulls is enabled.

<a href="#(resource)%20origin_tls_client_auth.settings%20%3E%20(model)%20setting_update_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

[Link to this property](<#(resource)%20origin_tls_client_auth.settings%20%3E%20(model)%20setting_update_response%20%3E%20(schema)>)