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

# Reject Proposal

> Rejects a pending proposal. The flag config is unchanged.

## Path parameters

<ParamField path="proposalId" type="string" required />

## Body

<ParamField body="note" type="string">
  Optional rejection reason.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X POST https://nest.feather.mupeni.dev/v1/proposals/prop_01hx.../reject \
    -H "Authorization: Bearer <reviewer_key>" \
    -H "Content-Type: application/json" \
    -d '{ "note": "Needs more testing in staging first." }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "prop_01hx...",
    "status": "rejected",
    "reviewedBy": "key_02hx...",
    "reviewedAt": "2024-04-11T09:05:00.000Z",
    "reviewNote": "Needs more testing in staging first."
  }
  ```

  ```json 409 theme={null}
  {
    "error": { "code": "PROPOSAL_NOT_PENDING", "message": "Proposal is not in pending state." }
  }
  ```
</ResponseExample>
