Directus / @directus/sdk / rest / deleteCollection
Function: deleteCollection() ​
deleteCollection<
Schema
>(collection
):RestCommand
<void
,Schema
>
Delete a collection.
Type Parameters ​
• Schema
Parameters ​
• collection: string
Returns ​
RestCommand
<void
, Schema
>