> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/device/socketleave.md).

# socketLeave

## Description

Leave the current connected socket channel

## Input / Parameters

| No | Name          | Description           | Data Type    | Required |
| -- | ------------- | --------------------- | ------------ | -------- |
| 1  | type          | Type of connection    | String       |          |
| 2  | name          | Connection name       | String       |          |
| 3  | channel       | Channel name to leave | String       |          |
| 4  | callback      | Success callback      | FunctionList |          |
| 5  | errorCallback | Error callback        | FunctionList |          |

## Output

## Callback

## Video

## Example

* N/A

### Step

* N/A

### Result

* N/A

## Links
