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