# Como obter o user\_id para fazer uma chamada de logout na API

**URL:** <https://meta.discourse.org/t/how-to-obtain-the-user-id-so-i-can-issue-a-logout-api-call/102033>\
**Category:** SSO\
**Created:** [Novembro 14, 2018, 2:55pm UTC](https://meta.discourse.org/t/how-to-obtain-the-user-id-so-i-can-issue-a-logout-api-call/102033 "2018-11-14T14:55:32Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [Novembro 15, 2018, 4:22pm UTC](https://meta.discourse.org/t/how-to-obtain-the-user-id-so-i-can-issue-a-logout-api-call/102033/13 "2018-11-15T16:22:58Z")

</div>

> [@TeoWneD](#):
>
> But when i tryed to fill the logout redirection, It’s changing nothing

The site setting `logout redirect` should point to somewhere no under auth, like your main site homepage or even [https://google.com](https://google.com).

---

_[View the full topic](https://meta.discourse.org/t/how-to-obtain-the-user-id-so-i-can-issue-a-logout-api-call/102033)._
