---
schema_version: "1"
id: 44769007e0c1d6caca8cd0d96dfe9154006f5728112e7c96f478db4ab1c7810a
title: Omni Channel Logout
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/aura/components/lightning/omniChannelLogout/aura-omni-channel-logout.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/aura-omni-channel-logout.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1d3ba704f1360ffb1ab443f14068ad9883b97a4b8edf8b753889455064cc6805
products:
  - Lightning Component Reference
---
# Omni Channel Logout

**`lightning:omniChannelLogout`**

Indicates that an agent has logged out of Omni-Channel.

**For Use In**

Lightning Experience

::::::tabset{tabs='[ "Develop", "Specifications"]'}

:::::tab

`lightning:omniChannelLogout` is an application event that indicates an agent has logged out successfully. This event is supported in Lightning console apps only.

For more information, see [Events for Omni-Channel](https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_omnichannel_events.htm) in the Salesforce Console Developer Guide.


:::::

:::::tab
## Attributes

| Name     | Description                                                                                                                                                   | Type   | Default | Required |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ------- | -------- |
| `reason` | The reason why the agent is logged out. Possible values are `DuplicateLogin`, `DuplicateLoginInSameBrowser`, `MaintenanceLogout`, and `OmniSupervisorLogout`. | string |         |          |

:::::

::::::
