View Source Dnsimple.VanityNameServers (dnsimple v4.0.0)

Provides functions to interact with the vanity name server endpoints.

See:

Summary

Functions

Link to this function

disable_vanity_name_servers(client, account_id, domain_id, options \\ [])

View Source
@spec disable_vanity_name_servers(
  Dnsimple.Client.t(),
  String.t() | integer(),
  String.t() | integer(),
  Keyword.t()
) :: {:ok | :error, Dnsimple.Response.t()}

Disables vanity name servers for the domain.

See:

Examples:

client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.VanityNameServers.disable_vanity_name_servers(client, account_id = 1010, domain_id = "example.com")
Link to this function

enable_vanity_name_servers(client, account_id, domain_id, options \\ [])

View Source
@spec enable_vanity_name_servers(
  Dnsimple.Client.t(),
  String.t() | integer(),
  String.t() | integer(),
  Keyword.t()
) :: {:ok | :error, Dnsimple.Response.t()}

Enables vanity name servers for the domain.

See:

Examples:

client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.VanityNameServers.enable_vanity_name_servers(client, account_id = 1010, domain_id = "example.com")