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