View Source Resend.Domains (resend v0.4.4)

Manage domains in Resend.

Summary

Functions

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

Link to this function

create(client \\ Resend.client(), opts)

View Source

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"]
Link to this function

get(client \\ Resend.client(), domain_id)

View Source

Gets a domain given an ID.

Link to this function

list(client \\ Resend.client())

View Source

Lists all domains.

Link to this function

remove(client \\ Resend.client(), domain_id)

View Source

Removes a domain. Caution: This can't be undone!

Link to this function

verify(client \\ Resend.client(), domain_id)

View Source

Begins the verification process for a domain.