Saltar al contenido principal
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"
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.es/docs/llms.txt

Use this file to discover all available pages before exploring further.

Parámetros de ruta

email_address
string<email>
requerido

The email address for which you are updating subscription status.

Cuerpo

application/json

Subscription update details

unsubscribeFromAll
boolean

Whether to unsubscribe from all emails

subscriptionStatuses
object[]

Legal basis for portal-level subscription

Opciones disponibles:
LEGITIMATE_INTEREST_PQL,
LEGITIMATE_INTEREST_CLIENT,
PERFORMANCE_OF_CONTRACT,
CONSENT_WITH_NOTICE,
NON_GDPR

Explanation for portal-level legal basis

Respuesta

Email subscription status updated successfully

status
string

Status of the update operation

Last modified on April 13, 2026