# Logout in Realtime API

**URL:** <https://forums.rocket.chat/t/logout-in-realtime-api/8363>\
**Category:** Development\
**Created:** [August 31, 2020, 9:37am UTC](https://forums.rocket.chat/t/logout-in-realtime-api/8363 "2020-08-31T09:37:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luckybit](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@luckybit](https://forums.rocket.chat/u/luckybit)\
**Post date:** [August 31, 2020, 9:37am UTC](https://forums.rocket.chat/t/logout-in-realtime-api/8363/1 "2020-08-31T09:37:28Z")

</div>

In the documentation of the Logout method ([https://docs.rocket.chat/api/realtime-api/method-calls/logout](https://docs.rocket.chat/api/realtime-api/method-calls/logout)) in the Realtime Api I didn’t find enough information on the payload of the message.For the Id field of the message may I set any value?  
Thanks
