Update a Domain

Updates the Domain resource.

smtppy.updatedomain(id, isActive=True)

Parameters

  • isActive (boolean) - Domain activation status

  • id (string) (required) - The domain identifier

Response

{
  "domain": "example.com",
  "isActive": true
}

Want to learn about writing content from scratch? Head to the Basics section to learn more.

Last updated