---
title: "Delete View"
method: DELETE
path: "/api/v1/project/{project_id}/views/{view_id}"
tags: ["project"]
---

# Delete View

`DELETE /api/v1/project/{project_id}/views/{view_id}`

Delete a view from a project.

Args:
    project_id: UUID of the project (validated to be owned by current user)
    view_id: String ID of the view to delete
    view_service: View service for business logic

Returns:
    Response with success status and message

Raises:
    HTTPException: 404 if project/view not found or user doesn't own it

## Path parameters

- `view_id` string, required

## Response `200`

Successful Response

- ViewDeleteResponse — Response model for deleting a view. Attributes: success: Boolean indicating if the deletion was successful message: Optional message providing additional information
  - `success` boolean, required
  - `message` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/maia-analytics/apis/maia-api.md) · [All operations](https://skmtc.dev/maia-analytics/apis/maia-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/maia-analytics/maia-api/revisions/0c94a4b5a00e/schema)
