Skip to content

โŒ 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." }