# Registrar

## Domains

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#Domain">Domain</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainUpdateResponse">DomainUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainGetResponse">DomainGetResponse</a>

Methods:

- <code title="put /accounts/{account_id}/registrar/domains/{domain_name}">client.Registrar.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, domainName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainUpdateParams">DomainUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainUpdateResponse">DomainUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/registrar/domains">client.Registrar.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainService.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/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainListParams">DomainListParams</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/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#Domain">Domain</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/registrar/domains/{domain_name}">client.Registrar.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, domainName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainGetParams">DomainGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar">registrar</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/registrar#DomainGetResponse">DomainGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
