## Delete Session

`client.chat.delete(stringsessionID, ChatDeleteParamsparams?, RequestOptionsoptions?): void`

**delete** `/api/v1/chat/{session_id}`

Delete a session.

### Parameters

- `sessionID: string`

- `params: ChatDeleteParams`

  - `organization_id?: string | null`

  - `project_id?: string | null`

### Example

```typescript
import LlamaCloud from '@llamaindex/llama-cloud';

const client = new LlamaCloud({
  apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted
});

await client.chat.delete('session_id');
```
