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