SnozeDevelopers
API referenceDatabases

Delete a view

Checks the view's deletion impact first and refuses while blocking dependencies remain, or when the impact carries warnings and `confirmed` is not truthy; otherwise the view is removed. Deleting a shared view requires the `views:write` permission and a locked view is reserved to workspace owners and admins, while a personal view can be removed by its owner.

DELETE
/v1/workspaces/{workspaceId}/databases/{databaseId}/views/{viewId}
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
databaseId*string
viewId*string

Query Parameters

confirmed?string|null

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/workspaces/string/databases/string/views/string"
{  "data": {    "id": "string",    "workspaceId": "string",    "databaseId": "string",    "key": "string",    "label": "string",    "kind": "table",    "placement": "database",    "manifest": {},    "relationFieldId": "string",    "ownerUserId": "string",    "scope": "shared",    "locked": true,    "definitionVersion": 0,    "createdAt": "string",    "updatedAt": "string"  }}