Update an Account

Updates the Account resource.

smtppy.updateaccount(password, accountId, isActive)

Parameters

  • accountId (string) (required) - The account identifier

  • password (string) (required) - Account's password.

  • isActive (bool) (required) - Account active status

Response

{
  "address": "user@example.com",
  "isActive": true
}

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

Last updated