Dnsimple.Contacts.update_contact
You're seeing just the function
update_contact
, go back to Dnsimple.Contacts module for more information.
Link to this function
update_contact(client, account_id, contact_id, attributes, options \\ [])
Specs
update_contact( Dnsimple.Client.t(), String.t() | integer(), String.t() | integer(), Keyword.t(), Keyword.t() ) :: {:ok | :error, Dnsimple.Response.t()}
Updates a contact in an account.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Contacts.update_contact(client, account_id = "1010", contact_id = "123", %{
email: "johndoe@email-provider.com",
})