# Unsubscribing a user from all emails via an API call?

**URL:** <https://meta.discourse.org/t/unsubscribing-a-user-from-all-emails-via-an-api-call/133319>\
**Category:** Product Support\
**Created:** [13 november 2019 om 18:32 UTC](https://meta.discourse.org/t/unsubscribing-a-user-from-all-emails-via-an-api-call/133319 "2019-11-13T18:32:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [13 november 2019 om 18:46 UTC](https://meta.discourse.org/t/unsubscribing-a-user-from-all-emails-via-an-api-call/133319/2 "2019-11-13T18:46:56Z")

</div>

> [@jezra](#):
>
> I would also like to unsubscribe the user from Discourse emails

Will it always be the case that they don’t want to see site emails and community emails?

If the possibility exists that they will want to opt out of one and not both why not simply link to a page where they can manage their email preferences for discourse?

---

_[View the full topic](https://meta.discourse.org/t/unsubscribing-a-user-from-all-emails-via-an-api-call/133319)._
