DELETE/comments/{id}
Delete comment
Permanently remove a comment. Returns deleted resource. Triggers `comments.deleted` webhook.
Parameters 1
| Name | Type | Description |
|---|---|---|
idrequired | path · integer | Resource identifier |
ReturnsComment
Bearer token required
Response examples
200Deleted comment
{
"id": 1,
"postId": 1,
"userId": 1,
"body": "How does this compare to the approach described in the official docs?",
"likes": 16,
"createdAt": "2023-04-28T06:59:47.906Z"
}404404 — resource not found
{
"error": {
"status": 404,
"message": "users #999 not found"
}
}