> ## Documentation Index
> Fetch the complete documentation index at: https://replyke-feat-push-rich-payload-fields.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Downvote from Entity

> Remove a downvote from an entity

Removes a downvote from the authenticated user on the specified entity.

## Path Parameters

<ParamField path="entityId" type="string" required>
  ID of the entity to modify
</ParamField>

## Response

Returns the updated entity with the user's downvote removed.

<ResponseField name="id" type="string">
  Unique entity identifier
</ResponseField>

<ResponseField name="userId" type="string">
  ID of the entity creator
</ResponseField>

<ResponseField name="upvotes" type="array">
  Array of user IDs who upvoted
</ResponseField>

<ResponseField name="downvotes" type="array">
  Updated array of user IDs who downvoted (current user removed)
</ResponseField>

## Error Responses

<AccordionGroup>
  <Accordion title="Not Downvoted - 409 Conflict">
    ```json theme={null}
    {
      "error": "Can't remove downvote, as user didn't downvote entity or entity not found.",
      "code": "entity/not-downvoted"
    }
    ```
  </Accordion>

  <Accordion title="Not Found - 404 Not Found">
    ```json theme={null}
    {
      "error": "Entity not found.",
      "code": "entity/not-found"
    }
    ```
  </Accordion>

  <Accordion title="Server Error - 500 Internal Server Error">
    ```json theme={null}
    {
      "error": "Internal server error.",
      "code": "entity/server-error"
    }
    ```
  </Accordion>
</AccordionGroup>

***

## Notes

* Removing a downvote increases the entity author's reputation.
* The request will fail if the entity was never downvoted by the user.
