---
title: "Delete Data Source"
method: DELETE
path: "/dataSources/{dataSourceId}"
tags: ["Data Source"]
---

# Delete Data Source

`DELETE /dataSources/{dataSourceId}`

## Request

- Base URL: `https://data.lucid.app`
- URL: `https://data.lucid.app/dataSources/{dataSourceId}`
- Auth: OAuth 2
  - Authorization code: `https://lucid.app/oauth2/authorize`
  - Token URL: `https://api.lucid.co/oauth2/token` scopes: `data-service.admin`

This removes the specified data source and anything related to it (collections, schema, items, link parameters). Once deleted, none of the information can be recovered.

## Path parameters

- `dataSourceId` integer, required

## Response `200`

OK

---

[API](https://skmtc.dev/lucid/apis/lucid-data-api.md) - [All operations](https://skmtc.dev/lucid/apis/lucid-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-data-api/revisions/c14ed29dbeab?raw)
