Method: Dnsimple::Client::Contacts#delete_contact

Defined in:
lib/dnsimple/client/contacts.rb

#delete_contact(contact, options = {}) ⇒ void Also known as: delete

This method returns an undefined value.

Deletes a contact from the account.

WARNING: this cannot be undone.

Parameters:

  • contact (Fixnum)

    The contact id.

Raises:

See Also:



81
82
83
# File 'lib/dnsimple/client/contacts.rb', line 81

def delete_contact(contact, options = {})
  client.delete(Client.versioned("contacts/#{contact}"), options)
end