# CustomCertificates

Params Types:

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

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificate">CustomCertificate</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#GeoRestrictions">GeoRestrictions</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#Status">Status</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateDeleteResponse">CustomCertificateDeleteResponse</a>

Methods:

- <code title="post /zones/{zone_id}/custom_certificates">client.CustomCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateService.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/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateNewParams">CustomCertificateNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificate">CustomCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/custom_certificates">client.CustomCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateService.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/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateListParams">CustomCertificateListParams</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/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificate">CustomCertificate</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /zones/{zone_id}/custom_certificates/{custom_certificate_id}">client.CustomCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, customCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateDeleteParams">CustomCertificateDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateDeleteResponse">CustomCertificateDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /zones/{zone_id}/custom_certificates/{custom_certificate_id}">client.CustomCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, customCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateEditParams">CustomCertificateEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificate">CustomCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/custom_certificates/{custom_certificate_id}">client.CustomCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, customCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificateGetParams">CustomCertificateGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificate">CustomCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Prioritize

Methods:

- <code title="put /zones/{zone_id}/custom_certificates/prioritize">client.CustomCertificates.Prioritize.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#PrioritizeService.Update">Update</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/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#PrioritizeUpdateParams">PrioritizeUpdateParams</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#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates">custom_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/custom_certificates#CustomCertificate">CustomCertificate</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
