View Source Resend.Domains (resend v0.4.4)
Manage domains in Resend.
Summary
Functions
Creates a new domain.
Gets a domain given an ID.
Lists all domains.
Removes a domain. Caution: This can't be undone!
Begins the verification process for a domain.
Functions
@spec create(Resend.Client.t(), Keyword.t()) :: Resend.Client.response(Resend.Domains.Domain.t())
Creates a new domain.
Parameter options:
:name
- The domain name (required):region
- Region to deliver emails from, on of:["us-east-1", "eu-west-1", "sa-east-1"]
@spec get(Resend.Client.t(), String.t()) :: Resend.Client.response(Resend.Domains.Domain.t())
Gets a domain given an ID.
@spec list(Resend.Client.t()) :: Resend.Client.response(Resend.List.t(Resend.Domains.Domain.t()))
Lists all domains.
@spec remove(Resend.Client.t(), String.t()) :: Resend.Client.response(Resend.Domains.Domain.t())
Removes a domain. Caution: This can't be undone!
@spec verify(Resend.Client.t(), String.t()) :: Resend.Client.response(Resend.Domains.Domain.t())
Begins the verification process for a domain.