Remove the authenticated user's vote on a study guide
DELETE/study-guides/:study_guide_id/votes
Hard-deletes the row in study_guide_votes for the
(viewer, guide) pair, returning the user to a neutral state.
Returns 404 when the guide is missing/soft-deleted OR when the
viewer has no existing vote -- both surfaces are collapsed to
404 by design (the desired state is "no vote", which is reached
in either case from the caller's point of view).
Request
Responses
- 204
- 400
- 401
- 404
- 500
Vote removed; no response body.
Bad request
Unauthorized
Not found
Internal server error