Dnsimple.Registrar.transfer_domain
You're seeing just the function
transfer_domain
, go back to Dnsimple.Registrar module for more information.
Link to this function
transfer_domain(client, account_id, domain_name, attributes \\ [], options \\ [])
Specs
transfer_domain( Dnsimple.Client.t(), String.t(), String.t(), Keyword.t(), Keyword.t() ) :: {:ok | :error, Dnsimple.Response.t()}
Starts the transfer of a domain to DNSimple.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Registrar.transfer_domain(client, account_id = 1010, domain_id = "example.com", %{
registrant_id: 1,
auth_code: "XXXXXXXXX",
privacy: true,
auto_renew: true,
})