Dnsimple.Zones.delete_zone_record
You're seeing just the function
delete_zone_record
, go back to Dnsimple.Zones module for more information.
Link to this function
delete_zone_record(client, account_id, zone_id, record_id, options \\ [])
Specs
delete_zone_record( Dnsimple.Client.t(), String.t(), String.t(), integer(), Keyword.t() ) :: {:ok | :error, Dnsimple.Response.t()}
Deletes a record from the zone.
Warning: this is a destructive operation.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Zones.delete_zone_record(client, account_id = 1010, zone_id = 12, record_id = 1)
{:ok, response} = Dnsimple.Zones.delete_zone_record(client, account_id = 1010, zone_id = "example.com", record_id = 1)