โ Reject Complaint
Endpoint: POST /api/admin/complaints/{id}/reject/
Auth Required: โ
Yes (Admin Bearer Token)
Content-Type: application/json
๐ Description
This endpoint allows an administrator to reject a complaint that is found to be invalid, irrelevant, duplicate, or outside civic responsibility.
Rejected complaints are closed without assignment and remain recorded for audit and transparency purposes.
๐ Authentication
Include the admin access token in the request header:
๐ Path Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
UUID | โ | Unique complaint ID |
๐งพ Request Body
```json { "reason": "Duplicate complaint already reported for the same location.", "remarks": "Merged with complaint ID CMP-1002." }