---
title: "Delete a QnA"
method: DELETE
path: "/qna/{qna_id}/bots/{bot_id}"
tags: ["QnA"]
---

# Delete a QnA

`DELETE /qna/{qna_id}/bots/{bot_id}`

## Request

- Base URL: `https://apis.smartly.ai`
- URL: `https://apis.smartly.ai/qna/{qna_id}/bots/{bot_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/smartly/apis/smartly-ai-apis/docs/qna/:qna_id/bots/:bot_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a QnA

## Path parameters

- `qna_id` string, required
- `bot_id` string, required

## Response `200`

Accepted

- Success
  - `success` boolean

## Other responses

- `400`: Invalid ID supplied
- `404`: QnA not found

---

[API](https://skmtc.dev/smartly/apis/smartly-ai-apis.md) - [All operations](https://skmtc.dev/smartly/apis/smartly-ai-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/smartly/apis/smartly-ai-apis/revisions/1e26909d86c9?raw)
