Deletes a comment by its ID.
| Permission | Description |
|---|---|
| view (commentable) | Must have view permission on the target resource |
comments.delete | Delete your own comments |
comments.delete_any | Delete any comment (admin or moderator) |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| comment-id | int | Yes | ID of the comment to delete | 123 |
Comment was successfully deleted. No response body is returned.
| Status | Description | Reference |
|---|---|---|
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |
| 404 | Not found | Not-found error |