> For the complete documentation index, see [llms.txt](https://wallet-docs.broearn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wallet-docs.broearn.com/provider-methods/disconnect.md).

# Disconnect

After an initial [Connect](/provider-methods/connect.md) event has taken place, an app may disconnect from Broearn Wallet at anytime. Once disconnected, Broearn Wallet will reject all signature requests until another connection is established.

### Query Function

```javascript
window.bw.put.disconnect({ session: "" })
```

### Query String Parameters

```json
// Query code
{
    session: '...'
}
```

### Returns

#### :white\_check\_mark: Approve

```json
{
  "data": "success"
}
```

#### :x:Reject

An `errorCode` and `errorMessage` as query parameters. Please refer to [Errors](/errors.md) for a full list of possible error codes.

```json
{
  "errorCode": "...",
  "errorMessage": "..."
}
```
