# '/admin/users/{id}/log\_out.json' is not working

**URL:** <https://meta.discourse.org/t/admin-users-id-log-out-json-is-not-working/221185>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [March 17, 2022, 3:19am UTC](https://meta.discourse.org/t/admin-users-id-log-out-json-is-not-working/221185 "2022-03-17T03:19:33Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Atchuth\_Reddy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/atchuth_reddy/32/321802_2.png) [@Atchuth\_Reddy](https://meta.discourse.org/u/Atchuth_Reddy)\
**Post date:** [September 6, 2023, 9:40am UTC](https://meta.discourse.org/t/admin-users-id-log-out-json-is-not-working/221185/14 "2023-09-06T09:40:48Z")

</div>

I have tried logging out forum with post api ‘admin/users/{user\_id}/log\_out.json’ but it returns with Oops! That page doesn’t exist or is private.  
I have provided api\_key and api-username with in headers. Does anyone faced same issue

---

_[View the full topic](https://meta.discourse.org/t/admin-users-id-log-out-json-is-not-working/221185)._
