> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryfltr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Dataset

> Permanently delete a dataset and all its documents

## Request

Deletes a dataset and all its documents. This action cannot be undone.

### Path Parameters

<ParamField path="dataset_id" type="string" required>
  The unique dataset identifier to delete
</ParamField>

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token for authentication
</ParamField>

## Response

Returns `204 No Content` on successful deletion.

## Examples

```bash cURL theme={null}
curl -X DELETE https://api.fltr.com/v1/datasets/ds_abc123 \
  -H "Authorization: Bearer fltr_sk_abc123..."
```

```python Python theme={null}
response = requests.delete(
    "https://api.fltr.com/v1/datasets/ds_abc123",
    headers={"Authorization": "Bearer fltr_sk_abc123..."}
)
# response.status_code == 204
```

## Errors

```json theme={null}
{
  "error": "Dataset not found",
  "code": "dataset_not_found"
}
```

## Notes

<Warning>
  This permanently deletes the dataset and all documents within it. This action cannot be undone.
</Warning>

* All documents in the dataset will be deleted
* Vector embeddings will be removed
* Metadata will be lost
* Active queries may fail
