Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.53 KB

sendingDomains.md

File metadata and controls

35 lines (25 loc) · 1.53 KB

Sending Domains

This library provides easy access to the Sending Domains Resource.

Note: All methods return promises and accept an optional last argument callback. Read about how we handle callbacks and promises.

Methods

  • list()
    List an overview of all sending domains in the account.

  • get(domain)
    Retrieve a sending domain by its domain name

    • domain - the domain you want to look up required
  • create(createOpts)
    Create a new sending domain

  • update(domain, updateOpts)
    Update an existing sending domain

  • delete(domain)
    Delete an existing sending domain

    • domain - the domain you want to delete required
  • verify(domain, options)
    Validate the specified verification field types for a sending domain

    • domain - the domain you want to verify required
    • options - a hash of verify attributes required

Examples

Visit our examples section to see all of our sending domains resource examples.