Directus / @directus/sdk / rest / deleteComments
Function: deleteComments() ​
deleteComments<
Schema
>(keysOrQuery
):RestCommand
<void
,Schema
>
Delete multiple existing comments.
Type Parameters ​
• Schema
Parameters ​
• keysOrQuery: Query
<Schema
, DirectusComment
<Schema
>> | DirectusComment
<Schema
>["id"
][]
The primary keys or a query
Returns ​
RestCommand
<void
, Schema
>
Throws ​
Will throw if keys is empty