Definitions

Unsubscribe a contact from all subscriptions

Changed on

Unsubscribe a contact from all email subscriptions.

post/communication-preferences/2026-09/statuses/{subscriberIdString}/unsubscribe-all

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/communication-preferences/2026-09/statuses/{subscriberIdString}/unsubscribe-all
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: communication_preferences.read_write

Path parameters

subscriberIdStringstring required

The unique identifier of the subscriber to unsubscribe.

Query parameters

channel'EMAIL' required

The communication channel to unsubscribe from. Must be 'EMAIL'.

businessUnitIdinteger

An optional integer representing the business unit ID.

verboseboolean

An optional boolean to include detailed information in the response. Defaults to false.

Response

successful operation

completedAtstring date-time required

The date and time when the operation was completed.

linksobject

Contains URLs related to the response, such as documentation or resources.

numErrorsinteger

The number of errors that occurred during the operation.

requestedAtstring date-time

The date and time when the request was made.

startedAtstring date-time required

The date and time when the operation started.

status'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING' required

Indicates the current status of the operation, with possible values: PENDING, PROCESSING, CANCELED, COMPLETE.

Changes

    • breaking

      the // response's property format changed from int32 to int64 for status

    • info

      the endpoint scheme security private_apps was removed from the API

    • info

      the endpoint scheme security private_apps was removed from the API

    • info

      the security scope communication_preferences.read_write was added to the endpoint's security scheme oauth2

    • info

      the security scope communication_preferences.write was removed from the endpoint's security scheme oauth2

    • info

      api tag Definitions added

    • info

      api tag Basic removed