Suppress an address
Adds an address to the suppression list, so nothing is sent to it any more.
View as
opensend suppressions create [flags]Needs the scopesuppressions:write
Changes data
Flags
--emailstringRequiredThe address to stop sending to. Up to 500 characters.
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"suppression"Always
suppression.idstringThe id of the entry.
emailstringThe address that is not sent to.
reasonstringWhy it is on the list:
bounce,complaintormanualwhen you put it there.One of
bouncecomplaintmanualdetailstring | nullMore about the reason, or
null.removablebooleanWhether the entry can be removed. An address that complained cannot.
createdAtstringWhen the address was put on the list.