DELETE comment/{commentId}

Related

Delete a comment. Note that when a comment is deleted it is not entirely removed, but simply replaced by content which indicates the deletion.

Example

DELETE /api/v1/comment/30 HTTP/1.1
Authorization: Bearer ...
----------------------------------------
HTTP/1.1 204 No Content
ETag: W/"a-bAsFyilMr4Ra1hIU5PyoyFRunpI"

Security

Authentication is required. Only admins and the author of a comment is permitted to delete it. There are no other restrictions to deleting a comment.

URL Parameters

NameDescriptionValue
commentIdthe ID of the commentnumber

Request Body

NONE

Response

Successful responses are code 204. Error responses are standard.

Response Body

NONE