---
schema_version: "1"
id: dbea6ba04200ef0070333ab4b6a1f1d44674d07cab135d0c776cf49b67aa756c
title: liveAgent:clientChatEndButton
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/components/pages-compref-liveagent-clientchatendbutton.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-liveagent-clientchatendbutton.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0a75a9e91299d347562e6f2fa4f928802a2761adfc32fba93e0f9d9b35822db3
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# liveAgent:clientChatEndButton

The button within a chat window a visitor clicks to end a chat session.

Must be used within `<liveAgent:clientChat>`.

## Attributes

|Attribute Name|Attribute Type|Description|Required?|API Version|Access|
|--------------|--------------|-----------|---------|-----------|------|
|`id`|String|An identifier that allows the component to be referenced by other components in the page.| |14.0|global|
|`label`|String|A string specifying the label that appears on the button; the default English label is "End Chat".| |24.0||
|`rendered`|Boolean|A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true.| |14.0|global|

**See Also**  


-   [liveAgent:clientChat](https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-liveagent-clientchat.md)

