---
title: "DELETE /workspace/{workspaceId}/views/{viewId}"
method: DELETE
path: "/workspace/{workspaceId}/views/{viewId}"
tags: ["Views"]
---

# DELETE /workspace/{workspaceId}/views/{viewId}

`DELETE /workspace/{workspaceId}/views/{viewId}`

Delete a view.

The owner/admin rule (a workspace view needs admin rights, a personal view
only its owner) is enforced by the views service itself, which holds the
ownerType and personId — checking here as well would cost an extra fetch to
re-derive what it already knows. Its 403 is relayed verbatim.

## Path parameters

- `workspaceId` string, required
- `viewId` string, required

## Response `200`

The view is deleted

- object
  - `viewId` string, required
  - `deleted` boolean, required

## Other responses

- `403` — Access denied
- `404` — No view found

---

[API](https://skmtc.net/craft/apis/craft-io-public-api.md) · [All operations](https://skmtc.net/craft/apis/craft-io-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/craft/craft-io-public-api/revisions/df0d980eb1e3/schema)
