MailSlurpAPI.Api.DomainController.create_domain

You're seeing just the function create_domain, go back to MailSlurpAPI.Api.DomainController module for more information.
Link to this function

create_domain(connection, domain_options, opts \\ [])

Specs

Create Domain Link a domain that you own with MailSlurp so you can create email addresses using it. Endpoint returns DNS records used for validation. You must add these verification records to your host provider's DNS setup to verify the domain.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • domain_options (CreateDomainOptions): domainOptions
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure