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