# MTLSCertificates

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificate">MTLSCertificate</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateNewResponse">MTLSCertificateNewResponse</a>

Methods:

- <code title="post /accounts/{account_id}/mtls_certificates">client.MTLSCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateService.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/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateNewParams">MTLSCertificateNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateNewResponse">MTLSCertificateNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/mtls_certificates">client.MTLSCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateService.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/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateListParams">MTLSCertificateListParams</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/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificate">MTLSCertificate</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/mtls_certificates/{mtls_certificate_id}">client.MTLSCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, mtlsCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateDeleteParams">MTLSCertificateDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificate">MTLSCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/mtls_certificates/{mtls_certificate_id}">client.MTLSCertificates.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, mtlsCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificateGetParams">MTLSCertificateGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#MTLSCertificate">MTLSCertificate</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Associations

Response Types:

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

Methods:

- <code title="get /accounts/{account_id}/mtls_certificates/{mtls_certificate_id}/associations">client.MTLSCertificates.Associations.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#AssociationService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, mtlsCertificateID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#AssociationGetParams">AssociationGetParams</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/mtls_certificates">mtls_certificates</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/mtls_certificates#CertificateAsssociation">CertificateAsssociation</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
