---
title: "Delete a schema"
method: DELETE
path: "/schemas/{schemaName}"
tags: ["Schema"]
---

# Delete a schema

`DELETE /schemas/{schemaName}`

Deletes a schema by name

## Path parameters

- `schemaName` string, required

## Response `200`

Successfully deleted schema

## Other responses

- `404` — Schema not found
- `409` — Schema is in use
- `500` — Error deleting schema

---

[API](https://skmtc.net/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.net/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/revisions/f1cc8a0ba2e0/schema)
