Endpoint
Authentication
Required. User must be the comment owner to delete the comment.Path Parameters
The unique identifier of the post containing the comment (PostID)
Request Body
The username of the authenticated user who owns the comment to delete
Behavior
- Sets the isDeleted flag to true
- Sets the DeletedAt timestamp
- Only the comment owner can delete their own comment
- Prevents deleting comments on posts from blocked accounts
Request
Response
204 No Content - Comment deleted successfully
Errors
Account does not exist or action cannot be completed due to a block
Comment does not exist