Dnsimple.Services.apply_service

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

apply_service(client, account_id, domain_id, service_id, settings \\ %{}, options \\ [])

Specs

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

Apply a one-click service to a domain.

See:

Examples:

client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Services.apply_service(client, account_id = 1010, domain_id = "example.com", service_id = 12)
{:ok, response} = Dnsimple.Services.apply_service(client, account_id = 1010, domain_id = "example.com", service_id = 27, %{
  %{settings: %{setting_name: "setting value"}}
})