---
title: "Deletes an existing view."
method: DELETE
path: "/api/projects/{projectName}/views/{viewName}"
---

# Deletes an existing view.

`DELETE /api/projects/{projectName}/views/{viewName}`

Deletes an existing view in the project.

## Path parameters

- `projectName` string, required
- `viewName` string, required

## Response `200`

Succesfully deleted

- object

## Other responses

- `401` — Invalid API key error message
- `404` — View or projectnot found
- `500` — Server error

---

[API](https://skmtc.net/mindsdb/apis/mindsdb-api.md) · [All operations](https://skmtc.net/mindsdb/apis/mindsdb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mindsdb/mindsdb-api/versions/387ff52538f9/schema)
