Dnsimple.Domains.add_collaborator

You're seeing just the function add_collaborator, go back to Dnsimple.Domains module for more information.
Link to this function

add_collaborator(client, account_id, domain_id, attributes, options \\ [])

Specs

add_collaborator(
  Dnsimple.Client.t(),
  String.t() | integer(),
  String.t() | integer(),
  map(),
  keyword()
) :: {:ok | :error, Dnsimple.Response.t()}

Adds a collaborator to the domain.

See:

Examples:

client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Domains.add_collaborator(client, account_id = 1010, domain_id = "example.com", %{
  email: "existing-user@example.com"
})