---
title: "Delete a Source"
method: DELETE
path: "/data_sources/{source_id}"
tags: ["Sources"]
---

# Delete a Source

`DELETE /data_sources/{source_id}`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/data_sources/{source_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/data_sources/:source_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a source from your Nexla account.

## Path parameters

- `source_id` string, required

## Headers

- `Accept` 'application/vnd.nexla.api.v1+json' | 'application/json': Setting to `application/vnd.nexla.api.v1+json` is recommended.

## Response `200`

Success

- object
  - `code` string: Response status code
  - `message` string: Response status text

## Other responses

- `404`: Not found error

---

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