---
title: "Delete database for a source"
method: DELETE
path: "/sources/{id}/dbs/{db}"
tags: ["databases"]
---

# Delete database for a source

`DELETE /sources/{id}/dbs/{db}`

## Path parameters

- `id` string, required
- `db` string, required

## Response `204`

Database has been deleted

## Other responses

- `404` — Data source id does not exist.
- `default` — A processing or an unexpected error.

---

[API](https://skmtc.net/influxdata/apis/chronograf.md) · [All operations](https://skmtc.net/influxdata/apis/chronograf/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/influxdata/chronograf/revisions/ce55d963b4ac/schema)
