---
title: "Remove Vote"
method: DELETE
path: "/userportal/votes/{feature_id}"
tags: ["userportal-public"]
---

# Remove Vote

`DELETE /userportal/votes/{feature_id}`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/userportal/votes/{feature_id}`
- Auth: none declared

Remove (deactivate) an authenticated vote on a feature.

Requires authentication via session token in Authorization header.
Marks the vote as inactive but keeps the record for historical purposes.
All votes (active and inactive) are included in the vote count.

## Path parameters

- `feature_id` integer, required

## Query parameters

- `access` string, nullable: Access token for token-protected roadmaps

## Headers

- `F1-Product` string
- `authorization` string, nullable

## Response `200`

Successful Response

- AuthenticatedVoteResponse: Response schema for authenticated voting.
  - `success` boolean, required: Whether the vote was recorded
  - `feature_id` integer, required: Feature pub_id that was voted on
  - `votes_count` integer, required: Updated vote count for the feature
  - `user_voted` boolean, required: Whether the user has voted for this feature
  - `message` string, nullable: Optional message (e.g., 'Vote removed')

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/feedback1/apis/feedback1-public-api.md) · [All operations](https://skmtc.dev/feedback1/apis/feedback1-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/feedback1/apis/feedback1-public-api/revisions/e7626420f622?raw)
