Dnsimple.Registrar.change_domain_delegation
You're seeing just the function
change_domain_delegation
, go back to Dnsimple.Registrar module for more information.
Link to this function
change_domain_delegation(client, account_id, domain_name, name_servers, options \\ [])
Specs
change_domain_delegation( Dnsimple.Client.t(), integer() | String.t(), String.t(), list(), keyword() ) :: {:ok | :error, Dnsimple.Response.t()}
Changes the domain's name servers and returns them.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Registrar.change_domain_delegation(client, account_id = 1010, domain_id = "example.com", [
"ns1.provider.com",
"ns2.provider.com",
"ns3.provider.com",
"ns4.provider.com",
])