---
title: "Delete a view query"
method: DELETE
path: "/v1/views/{view_id}/queries/{query_id}"
tags: ["Views"]
---

# Delete a view query

`DELETE /v1/views/{view_id}/queries/{query_id}`

## Path parameters

- `view_id` string, required
- `query_id` string, required

## Headers

- `Notion-Version` '2026-03-11', required

## Response `200`

- DeletedViewQueryResponse
  - `object` 'view_query', required — The object type.
  - `id` string, uuid, required
  - `deleted` boolean, required — Whether the view query was deleted.

## Other responses

- `400`
- `401`
- `403`
- `404`
- `406`
- `409`
- `429`
- `500`
- `503`
- `504`
- `529`

## Changes

- **2026-08-15** `c90a4587bc95` — 1 warning
  - added the new `idempotency_key_reused` enum value to the `allOf[subschema #2]/code` response property for the response status `409`
- **2026-08-13** `ae20477af71b` — 1 breaking, 1 info
  - added `subschema #1, subschema #2, subschema #3` to the response body `oneOf` list for the response status `403`
  - removed `#/components/schemas/publicApiCommonErrorResponse, subschema #2` from the response body `allOf` list for the response status `403`
- **2026-08-12** `28d140865fc6` — 2 warning
  - added the new `agent_credit_limit_reached` enum value to the `allOf[subschema #2]/code` response property for the response status `403`
  - added the new `workspace_credits_exhausted` enum value to the `allOf[subschema #2]/code` response property for the response status `403`
- **2026-07-31** `301eea0116d9` — 2 warning
  - added the new `invalid_beta` enum value to the `allOf[subschema #2]/code` response property for the response status `400`
  - added the new `invalid_credit_limit` enum value to the `allOf[subschema #2]/code` response property for the response status `400`
- …earlier changes not shown

[Full history](https://skmtc.dev/notion/apis/notion-api/changes/v1/views/:view_id/queries/:query_id/delete.md)

---

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