Skip to the page

Suppress an address

Adds an address to the suppression list, so nothing is sent to it any more.

opensend suppressions create [flags]
Needs the scopesuppressions:write
Changes data

Flags

  • --emailstringRequired

    The 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.

  • idstring

    The id of the entry.

  • emailstring

    The address that is not sent to.

  • reasonstring

    Why it is on the list: bounce, complaint or manual when you put it there.

    One ofbouncecomplaintmanual

  • detailstring | null

    More about the reason, or null.

  • removableboolean

    Whether the entry can be removed. An address that complained cannot.

  • createdAtstring

    When the address was put on the list.