# Unsubscribe API confusion

**URL:** <https://community.hubspot.com/t/unsubscribe-api-confusion/38352>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [June 3, 2021, 1:43pm UTC](https://community.hubspot.com/t/unsubscribe-api-confusion/38352 "2021-06-03T13:43:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicRaw1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nicraw1/32/92090_2.png) [@NicRaw1](https://community.hubspot.com/u/NicRaw1)\
**Post date:** [June 3, 2021, 1:43pm UTC](https://community.hubspot.com/t/unsubscribe-api-confusion/38352/1 "2021-06-03T13:43:19Z")

</div>

Hello all, I’m trying to figure out how to opt a contact out of \_all\_ communication from my hub via the API.

When reviewing this documentation: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/marketing-api/subscriptions-preferences) it seems as though you can only opt-out by specifying a specific “subscriptionId”, of which my options seem to only be “One to One” and not \_All\_.

It also mentions “This API is not valid to use for unsubscribing a contact at a brand or portal level and will return an error.” which sounds like what I’m trying to achieve, what is the correct API for that?

Thanks in advance,

Nic.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 3, 2021, 5:44pm UTC](https://community.hubspot.com/t/unsubscribe-api-confusion/38352/2 "2021-06-03T17:44:51Z")

</div>

Hey @NicRaw1

I would recommend taking a look at the [this endpoint](https://legacydocs.hubspot.com/docs/methods/email/update_status). What you want doesn’t appear to be baked into the cake just yet
