---
title: "Disconnect a client; its access ends within 15 minutes"
---

> Documentation Index
> Fetch the complete documentation index at: https://truememory-docs.mvstg.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Auth API › OAuth

`DELETE /oauth/connections/{client_id}`

## Authentication

- `HTTPBearer`, http, header `Authorization`

## Path parameters

- `client_id` (`disconnect_oauth_connections__client_id__delete.path.client_id`; string, required)

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://truememory-auth.mvstg.com/oauth/connections/<client_id>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://truememory-auth.mvstg.com/oauth/connections/<client_id>';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-auth.mvstg.com/oauth/connections/<client_id>"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
```

## Responses

### 204

Successful Response

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`disconnect_oauth_connections__client_id__delete.response.422.detail`; array<object>, optional)
  - `loc` (`disconnect_oauth_connections__client_id__delete.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`disconnect_oauth_connections__client_id__delete.response.422.detail.msg`; string, required)
  - `type` (`disconnect_oauth_connections__client_id__delete.response.422.detail.type`; string, required)
  - `input` (`disconnect_oauth_connections__client_id__delete.response.422.detail.input`; unknown, optional)
  - `ctx` (`disconnect_oauth_connections__client_id__delete.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/auth/oauth/connections/delete/index.md
