Registrar
RegistrarDomains
List domains
client.Registrar.Domains.List(ctx, query) (*SinglePage[Domain], error)
GET/accounts/{account_id}/registrar/domains
Get domain
client.Registrar.Domains.Get(ctx, domainName, query) (*DomainGetResponse, error)
GET/accounts/{account_id}/registrar/domains/{domain_name}
Update domain
client.Registrar.Domains.Update(ctx, domainName, params) (*DomainUpdateResponse, error)
PUT/accounts/{account_id}/registrar/domains/{domain_name}
ModelsExpand Collapse
type Domain struct{…}
type Domain struct{…}
RegistryStatuses stringoptional
A comma-separated list of registry status codes. A full list of status codes can be found at EPP Status Codes.
SupportedTLD booloptional
Whether a particular TLD is currently supported by Cloudflare Registrar. Refer to TLD Policies for a list of supported TLDs.
TransferIn DomainTransferInoptionalStatuses for domain transfers into Cloudflare Registrar.
TransferIn DomainTransferInoptional
Statuses for domain transfers into Cloudflare Registrar.
AcceptFoa DomainTransferInAcceptFoaoptionalForm of authorization has been accepted by the registrant.
AcceptFoa DomainTransferInAcceptFoaoptional
Form of authorization has been accepted by the registrant.
ApproveTransfer DomainTransferInApproveTransferoptionalShows transfer status with the registry.
ApproveTransfer DomainTransferInApproveTransferoptional
Shows transfer status with the registry.
One of the following:
DisablePrivacy DomainTransferInDisablePrivacyoptionalPrivacy guards are disabled at the foreign registrar.
DisablePrivacy DomainTransferInDisablePrivacyoptional
Privacy guards are disabled at the foreign registrar.
EnterAuthCode DomainTransferInEnterAuthCodeoptionalAuth code has been entered and verified.
EnterAuthCode DomainTransferInEnterAuthCodeoptional
Auth code has been entered and verified.
One of the following: