---
title: "Delete a record from a dataset"
method: POST
path: "/dataset/{datasetId}/record/{recordId}/delete"
tags: ["Dataset Record"]
---

# Delete a record from a dataset

`POST /dataset/{datasetId}/record/{recordId}/delete`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/dataset/{datasetId}/record/{recordId}/delete`
- Auth: HTTP bearer

## Path parameters

- `datasetId` string, required: The ID of the dataset
- `recordId` string, required: The ID of the record to delete

## Request body

- object

## Response `200`

The record was deleted successfully

- object
  - `id` string, required: The ID of the deleted record

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
