# OriginCACertificates

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates">origin_ca_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificate">OriginCACertificate</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates">origin_ca_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificateDeleteResponse">OriginCACertificateDeleteResponse</a>

Methods:

- <code title="post /certificates">client.OriginCACertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificateService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates">origin_ca_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificateNewParams">OriginCACertificateNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates">origin_ca_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificate">OriginCACertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /certificates">client.OriginCACertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificateService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates">origin_ca_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificateListParams">OriginCACertificateListParams</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/origin_ca_certificates">origin_ca_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificate">OriginCACertificate</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /certificates/{certificate_id}">client.OriginCACertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificateService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, certificateID <a href="https://pkg.go.dev/builtin#string">string</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates">origin_ca_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificateDeleteResponse">OriginCACertificateDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /certificates/{certificate_id}">client.OriginCACertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificateService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, certificateID <a href="https://pkg.go.dev/builtin#string">string</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates">origin_ca_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/origin_ca_certificates#OriginCACertificate">OriginCACertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
