---
title: "Delete question from dataset"
method: DELETE
path: "/datasets/{dataset_id}/{question_id}"
tags: ["Evaluation Datasets"]
---

# Delete question from dataset

`DELETE /datasets/{dataset_id}/{question_id}`

Removes a specific question-answer pair from a dataset

## Path parameters

- `dataset_id` string, required
- `question_id` string, required

## Response `200`

Question successfully deleted

- EvalDatasetMessageResponse — Simple message response for dataset operations
  - `message` string, required — Response message

## Other responses

- `400` — Invalid IDs supplied
- `401` — Unauthorized - Invalid or missing authentication
- `404` — Dataset or question not found

---

[API](https://skmtc.net/smartly/apis/smartly-ai-apis.md) · [All operations](https://skmtc.net/smartly/apis/smartly-ai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartly/smartly-ai-apis/revisions/1e26909d86c9/schema)
