---
title: "Delete Data Source"
method: DELETE
path: "/super-admin/data-sources/{source_id}"
tags: ["super-admin"]
---

# Delete Data Source

`DELETE /super-admin/data-sources/{source_id}`

## Request

- Base URL: `https://app.dataassist.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.dataassist.io/super-admin/data-sources/{source_id}`
- Auth: none declared

Cross-org hard-delete of a data source.

Mirrors the admin DELETE /api/data-sources/{id} but without the org_id
guard, so super-admin can clean up any org's source directly.

Sequence:
  1. Collect physical (non-live-query) table names before the cascade fires.
  2. DELETE data_sources row — cascades data_source_tables, table_meta,
     sync_runs, team_tables automatically.
  3. DROP each physical MySQL table.
  4. DELETE data_sources row — cascades everything else.

## Path parameters

- `source_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataassist/apis/dataassist-io-server.md) · [All operations](https://skmtc.dev/dataassist/apis/dataassist-io-server/llms.txt) · [OpenAPI document](https://skmtc.dev/dataassist/apis/dataassist-io-server/revisions/43b22ccf75fe?raw)
