Skip to main content
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

unsubscribeFromAll
boolean

Whether to unsubscribe from all emails

subscriptionStatuses
object[]

Legal basis for portal-level subscription

Available options:
LEGITIMATE_INTEREST_PQL,
LEGITIMATE_INTEREST_CLIENT,
PERFORMANCE_OF_CONTRACT,
CONSENT_WITH_NOTICE,
NON_GDPR

Explanation for portal-level legal basis

Response

Email subscription status updated successfully

status
string

Status of the update operation

Last modified on December 12, 2025