# Forget chat

`DELETE /v1/ask/chats/{id}`

Deletes one kept chat for good.

Needs the scope: `workspace:read`

This method answers a person who is signed in to the dashboard. A request with an API key is refused with 403, so it cannot be tried from this page.

## Path parameters

- `id` (string, required): The id of the item. Up to 64 characters.

## Returns

- `object` (string): What kind of thing was removed. One of: `list`, `email`, `broadcast`, `audience`, `template`, `template_version`, `template_starter`, `automation`, `metrics`, `domain`, `api_key`, `webhook`, `log`, `workspace`, `member`, `method`, `account`, `inbound_email`, `webhook_delivery`, `contact`, `plan`, `checkout`, `invoice`, `ask_answer`, `suppression`, `chat`, `automation_run`, `event`, `event_receipt`, `import`, `import_inventory`, `topic`, `contact_property`, `image`, `server`.
- `id` (string): The id of what was removed.
- `deleted` (true): Always `true`: it is gone for good.

## Example

cURL:

```bash
curl -X DELETE "$OPENSEND_API_URL/v1/ask/chats/chat_01" \
  -H "Authorization: Bearer $OPENSEND_API_KEY"
```

TypeScript:

```ts
await opensend.ask.forget('chat_01')
```

CLI:

```bash
opensend ask forget chat_01
```

Answer:

```json
{
  "object": "chat",
  "id": "chat_01",
  "deleted": true
}
```
