Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
---
title: DeleteDatabaseView
description: >-
Delete a saved table or board view of a Macro database by its id, from
DescribeDatabase.
---
# DeleteDatabaseView
Delete a saved table or board view of a Macro database by its id, from DescribeDatabase. Views are shared with everyone who can open the database, so deleting one needs edit access and removes it for everyone. The table and its records stay; a board's hand-arranged card order goes with it. Only do it when the user asked for that view to go.
## Parameters
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `databaseId` | string | Yes | Database id from ListDatabases. |
| `viewId` | string | Yes | View id from DescribeDatabase. |