# Disconnect session

This is pre-built Action located under the **Mainframe List Element**. The functionality of this action in Avo Assure is used to disconnect the connected session.

### **Syntax**

**Input Value:** `N/A`&#x20;

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Output Value:**&#x20;

| Argument                                                     | Description                                                     |
| ------------------------------------------------------------ | --------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable> (Optional) | This dynamic variable holds the result as **True** or **False** |

**Example**

**Disconnects the active mainframe session**

The **Disconnect Session** action does not require any input value and disconnects the currently active mainframe session.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FKcmnDBHcEJFPFIKuUv9N%2Fimage.png?alt=media&#x26;token=f219814a-4fe7-4566-bc02-ae67414611ae" alt=""><figcaption></figcaption></figure>
