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