# Implement Log out button

**URL:** <https://meta.discourse.org/t/implement-log-out-button/122321>\
**Category:** Development\
**Created:** [July 8, 2019, 1:08pm UTC](https://meta.discourse.org/t/implement-log-out-button/122321 "2019-07-08T13:08:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [July 11, 2019, 7:44am UTC](https://meta.discourse.org/t/implement-log-out-button/122321/6 "2019-07-11T07:44:14Z")

</div>

You need to set both the `Api-Key` and `Api-Username` headers. If you are using the All Users API Key, the `Api-Username` header should probably be set to ‘system’

---

_[View the full topic](https://meta.discourse.org/t/implement-log-out-button/122321)._
