Implement an endpoint that allows users to remove their likes from a specific blog post.
Acceptance Criteria
Only authenticated users can access the endpoint.
The endpoint verifies that the user has previously liked the blog post.
The database is updated correctly to remove the user's like.
The endpoint returns appropriate error messages for unauthorized access.
The endpoint is well-documented and easy to use.
Expected Outcome
Users should be able to remove their likes from blog posts they have previously liked.
Description
Implement an endpoint that allows users to remove their likes from a specific blog post.
Acceptance Criteria
Only authenticated users can access the endpoint. The endpoint verifies that the user has previously liked the blog post. The database is updated correctly to remove the user's like. The endpoint returns appropriate error messages for unauthorized access. The endpoint is well-documented and easy to use.
Expected Outcome
Users should be able to remove their likes from blog posts they have previously liked.