PUT
/
email
/
public
/
v1
/
subscriptions
/
{email_address}
curl --request PUT \
--url https://api.hubapi.com/email/public/v1/subscriptions/{email_address} \
--header 'Content-Type: application/json' \
--data '{
"unsubscribeFromAll": true
}'
{
  "status": "ok"
}

Path Parameters

email_address
string<email>
required

The email address for which you are updating subscription status.

Body

application/json

Subscription update details

The body is of type object.

Response

200
application/json

Email subscription status updated successfully

The response is of type object.