---
title: "Delete a view"
method: DELETE
path: "/v1/views/{viewId}"
tags: ["Views"]
---

# Delete a view

`DELETE /v1/views/{viewId}`

## Request

- Base URL: `https://api.folk.app`
- URL: `https://api.folk.app/v1/views/{viewId}`
- Auth: HTTP bearer

Delete a view of a group, or one of your personal views. A group keeps at least one view of each entity type, and so do your personal views.

## Path parameters

- `viewId` string, required

## Headers

- `Idempotency-Key` string: A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.

## Response `200`

The ID of the deleted view.

- object
  - `data` object, required
    - `id` string, required
  - `deprecations` string[]

## Other responses

- `400`: The request was unacceptable, often due to missing an invalid parameter.
- `401`: No valid API key provided.
- `403`: The API key doesn’t have permissions to perform the request.
- `404`: The requested resource doesn’t exist.
- `409`: A request with the same `Idempotency-Key` is still being processed, or the resource is in a state that does not allow the operation.
- `422`: The request was unacceptable, often due to missing or invalid parameters.
- `429`: Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
- `500`: Something went wrong on our end.
- `503`: The server is overloaded or down for maintenance.

## Changes

- **2026-11-03** `c6818f3ba60d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/folk/apis/folk-external-api/changes/v1/views/:viewId/delete.md)

---

[API](https://skmtc.dev/folk/apis/folk-external-api.md) - [All operations](https://skmtc.dev/folk/apis/folk-external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/folk/apis/folk-external-api/revisions/c6818f3ba60d?raw)
