Skip to content

Adds an email address to the suppression list for your account or for a specific tenant

Description

Adds an email address to the suppression list for your account or for a specific tenant. To target a tenant's suppression list, specify the TenantName parameter. If you omit TenantName, the address is added to the account-level suppression list.

Usage

sesv2_put_suppressed_destination(EmailAddress, Reason, TenantName)

Arguments

  • EmailAddress

[required] The email address that should be added to the suppression list for your account or for the specified tenant.

  • Reason

[required] The factors that should cause the email address to be added to the suppression list for your account or for the specified tenant.

  • TenantName

The name of the tenant whose suppression list you want to add the address to. If you omit this parameter, the address is added to the account-level suppression list.

Value

An empty list.

Request syntax

svc$put_suppressed_destination(
  EmailAddress = "string",
  Reason = "BOUNCE"|"COMPLAINT",
  TenantName = "string"
)