# ClientCertificates

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificate">ClientCertificate</a>

Methods:

- <code title="post /zones/{zone_id}/client_certificates">client.ClientCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateNewParams">ClientCertificateNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificate">ClientCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/client_certificates">client.ClientCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateListParams">ClientCertificateListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificate">ClientCertificate</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /zones/{zone_id}/client_certificates/{client_certificate_id}">client.ClientCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, clientCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateDeleteParams">ClientCertificateDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificate">ClientCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /zones/{zone_id}/client_certificates/{client_certificate_id}">client.ClientCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, clientCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateEditParams">ClientCertificateEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificate">ClientCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/client_certificates/{client_certificate_id}">client.ClientCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, clientCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificateGetParams">ClientCertificateGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates">client_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/client_certificates#ClientCertificate">ClientCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
