Skip to main content
POST
Update the opt-out status for a secure email

Authorizations

Authorization
string
header
required

Path Parameters

secure_email
string
required

Body

application/json
optout
boolean
required

true opts the email address in the path out of the client's emails. false opts it back in.

list_name
string | null

Value copied into the list_name data of the list_optout or list_optin event.

list_type
string | null

Value copied into the list_type data of the list_optout or list_optin event.

source
string | null

Value copied into the source data of the list_optout or list_optin event.

type
enum<string> | null

Audience the opt-out applies to, FRIEND or ADVOCATE. Used only when optout is true.

Available options:
ADVOCATE,
FRIEND

Response

Successful response

email
string
required
optout
boolean
required