---
title: "Delete a data source"
method: DELETE
path: "/v1/data_sources/{data_source_id}"
tags: ["data_sources"]
---

# Delete a data source

`DELETE /v1/data_sources/{data_source_id}`

Delete a data source.

Args:
    data_source_id: The ID of the data source to delete.

## Path parameters

- `data_source_id` string, uuid, required — The ID of the data source to delete

## Response `200`

The ID of the deleted data source and if it was deleted successfully

- DataSourceDeleted — Deleted data source.
  - `id` string, required — The ID of the data source
  - `deleted` boolean — Whether the data source was deleted
  - `object` 'data_source' — The type of the object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/2eece97b5ae5/schema)
