---
title: "Delete view"
method: DELETE
path: "/api/v1/models/{modelId}/view/{viewName}"
tags: ["Models"]
---

# Delete view

`DELETE /api/v1/models/{modelId}/view/{viewName}`

## Path parameters

- `modelId` string, uuid, required — Model UUID
- `viewName` string, required — View name

## Query parameters

- `branch_id` string, uuid — Branch ID to use for branch-aware operations
- `mode` 'COMBINED' | 'MERGED' | 'EXTENSION' — Controls delete behavior to match IDE editing modes. COMBINED (default) marks the view as ignored if it exists in the parent model, otherwise hard-deletes. MERGED marks the view as shallowIgnored (hidden only from the immediate parent). EXTENSION hard-deletes the view from the extension layer.

## Response `200`

View deleted successfully

- SuccessResponse
  - `success` boolean, required — Whether the operation was successful

## Other responses

- `401` — Authentication required
- `403` — Permission denied
- `404` — Model or view not found

---

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