Directus / @directus/sdk / rest / deletePanel
Function: deletePanel() ​
deletePanel<
Schema
>(key
):RestCommand
<void
,Schema
>
Delete an existing panel.
Type Parameters ​
• Schema
Parameters ​
• key: DirectusPanel
<Schema
>["id"
]
Returns ​
RestCommand
<void
, Schema
>
Throws ​
Will throw if key is empty