# 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:** 11

<div class="post-metadata">

**Author:** ![TeoWneD](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@TeoWneD](https://meta.discourse.org/u/TeoWneD)\
**Post date:** [Novembro 15, 2018, 9:30am UTC](https://meta.discourse.org/t/how-to-obtain-the-user-id-so-i-can-issue-a-logout-api-call/102033/11 "2018-11-15T09:30:35Z")

</div>

![test](https://global.discourse-cdn.com/meta/original/3X/3/c/3c28b482de7279ad9254f593f77ae07d9cbc9cf6.png)  
This is what we have as result when we try this querry via POST, in the terminale.

Edit: I modified a get querry sent from browser, into a post then it worked. Thanks i’ll keep you up. To know if i close the thread 🙂

---

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