Skip to main content

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

Vote removed; no response body.