> ## Documentation Index
> Fetch the complete documentation index at: https://docs.userorbit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Feedback Vote

> Remove your vote from a feedback item. Requires subscriber authentication.

## Authentication

Requires subscriber JWT token from login/identify.

```bash theme={null}
Authorization: Bearer SUBSCRIBER_JWT_TOKEN
```

## Request Body

<ParamField body="feedbackId" type="string" required>
  The feedback ID to remove vote from
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Returns true if vote was successfully removed
</ResponseField>

<ResponseField name="totalVotes" type="number">
  Updated total vote count for this feedback
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request POST 'https://api.userorbit.com/v1/public/feedback-votes.delete' \
  --header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "feedbackId": "feedback-uuid"
  }'
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://api.userorbit.com/v1/public/feedback-votes.delete', {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer SUBSCRIBER_JWT_TOKEN',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      feedbackId: 'feedback-uuid'
    })
  });

  const { success, totalVotes } = await response.json();
  console.log(`Vote removed! Total votes: ${totalVotes}`);
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      'https://api.userorbit.com/v1/public/feedback-votes.delete',
      headers={
          'Authorization': 'Bearer SUBSCRIBER_JWT_TOKEN',
          'Content-Type': 'application/json'
      },
      json={
          'feedbackId': 'feedback-uuid'
      }
  )

  result = response.json()
  print(f"Vote removed! Total votes: {result['totalVotes']}")
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "totalVotes": 42
  }
  ```
</ResponseExample>

## Behavior

* **Own Vote Only**: Can only delete your own vote
* **Vote Count Update**: Feedback vote count decremented automatically
* **Idempotent**: Returns success even if no vote exists

## Use Cases

* **Change Mind**: Allow users to remove their vote
* **Toggle Voting**: Implement upvote/unvote toggle button
* **Vote Management**: Users can manage their voting history

## Notes

* Requires valid subscriber JWT token
* Returns 404 if feedback doesn't exist
* Vote count updates immediately
* Returns success even if user hasn't voted
