---
title: Zone Certificates
---

[Skip to content](#_top)

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

[Origin TLS Client Auth](https://developers.cloudflare.com/api/go/resources/origin_tls_client_auth)

Copy Markdown

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

---

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

# Zone Certificates

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

client.OriginTLSClientAuth.ZoneCertificates.List(ctx, query) (\*SinglePage\[[ZoneCertificateListResponse](<https://developers.cloudflare.com/api/go/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20ZoneCertificateListResponse%20%3E%20(schema)>)], error)

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

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

client.OriginTLSClientAuth.ZoneCertificates.Get(ctx, certificateID, query) (\*[ZoneCertificateGetResponse](<https://developers.cloudflare.com/api/go/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20ZoneCertificateGetResponse%20%3E%20(schema)>), error)

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

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

client.OriginTLSClientAuth.ZoneCertificates.New(ctx, params) (\*[ZoneCertificateNewResponse](<https://developers.cloudflare.com/api/go/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20ZoneCertificateNewResponse%20%3E%20(schema)>), error)

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

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

client.OriginTLSClientAuth.ZoneCertificates.Delete(ctx, certificateID, body) (\*[ZoneCertificateDeleteResponse](<https://developers.cloudflare.com/api/go/resources/origin_tls_client_auth#(resource)%20origin_tls_client_auth.zone_certificates%20%3E%20(model)%20ZoneCertificateDeleteResponse%20%3E%20(schema)>), error)

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

##### ModelsExpand Collapse

<details>

<summary>

type ZoneAuthenticatedOriginPull struct{…}

</summary>

ID stringOptional

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 stringOptional

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>

ExpiresOn TimeOptional

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 stringOptional

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 stringOptional

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 ZoneAuthenticatedOriginPullStatusOptional

Status of the certificate activation.

</summary>

One of the following:

const ZoneAuthenticatedOriginPullStatusInitializing ZoneAuthenticatedOriginPullStatus = "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>

const ZoneAuthenticatedOriginPullStatusPendingDeployment ZoneAuthenticatedOriginPullStatus = "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>

const ZoneAuthenticatedOriginPullStatusPendingDeletion ZoneAuthenticatedOriginPullStatus = "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>

const ZoneAuthenticatedOriginPullStatusActive ZoneAuthenticatedOriginPullStatus = "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>

const ZoneAuthenticatedOriginPullStatusDeleted ZoneAuthenticatedOriginPullStatus = "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>

const ZoneAuthenticatedOriginPullStatusDeploymentTimedOut ZoneAuthenticatedOriginPullStatus = "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>

const ZoneAuthenticatedOriginPullStatusDeletionTimedOut ZoneAuthenticatedOriginPullStatus = "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>

UploadedOn TimeOptional

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)>)