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

# Delete Source

`DELETE /sources/{source_id}`

## Path parameters

- `source_id` string, required

## Query parameters

- `type` 'repository' | 'documentation' | 'research_paper' | 'huggingface_dataset' | 'local_folder' | 'slack' | 'google_drive', nullable — Source type hint

## Response `200`

Successful Response

- SourceDeleteResponse — Response for deleting a source.
  - `id` string, required — Source ID
  - `status` string, required — Deletion status

## Other responses

- `422` — Validation Error

## Changes

- **2026-03-09** `2277d31213d1` — 1 info
  - added the enum value `google_drive` to the property `anyOf[subschema #1]/` of the `query` request parameter `type`
- **2026-02-20** `056a9334ce0b` — 1 info
  - added the enum value `slack` to the property `anyOf[subschema #1]/` of the `query` request parameter `type`
- **2026-02-14** `5b3db391b9ea` — 3 info
  - api tag `Sources` added
  - api tag `v2-api` removed
  - api tag `v2-api-sources` removed

[Change history](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/changes/sources/:source_id/delete.md)

---

[API](https://skmtc.dev/nozomio-labs/apis/nia-ai-api.md) · [All operations](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nozomio-labs/nia-ai-api/revisions/dbb602a3ef17/schema)
