Lettermint.Domains (Lettermint v2.0.0)

Copy Markdown View Source

Sending domains. Needs :team_token.

Every function takes the options timeout: (milliseconds) last. Query arguments are maps with nested maps for bracketed names; see Lettermint.Query.

Summary

Functions

Streams every domain, following next_cursor. Raises the error of a failed page request.

Retrieves a domain. query: %{include: ["dnsRecords"]} and so on.

Replaces the projects that may send from the domain.

Checks every DNS record of the domain.

Types

result(value)

@type result(value) :: {:ok, value} | {:error, Lettermint.Error.t()}

Functions

create(client, body, options \\ [])

Adds a domain.

delete(client, domain_id, options \\ [])

Deletes a domain.

iterate(client, query \\ %{}, options \\ [])

Streams every domain, following next_cursor. Raises the error of a failed page request.

list(client, query \\ %{}, options \\ [])

Lists domains, one page at a time. query: Lettermint.Types.ListDomainsQuery.t/0.

retrieve(client, domain_id, query \\ %{}, options \\ [])

Retrieves a domain. query: %{include: ["dnsRecords"]} and so on.

update_projects(client, domain_id, body, options \\ [])

Replaces the projects that may send from the domain.

verify_dns_record(client, domain_id, record_id, options \\ [])

Checks one DNS record of the domain.

verify_dns_records(client, domain_id, options \\ [])

Checks every DNS record of the domain.