Delete a comment
DELETE/comments/:commentId
Soft-deletes the comment together with its replies. Administrators may delete any comment, other users only their own.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- default
Comment successfully deleted
the default error response
Unauthorized — the bearer token is missing, expired or invalid, or carries no role. Errors raised by the security aspects contain an ErrorDto body; requests rejected by the security filter chain may have an empty body.
Forbidden — the authenticated user lacks the required role or access rights.
Entity not found.
the default error response