โ Close Complaint
Endpoint: POST /api/admin/complaints/{id}/close/
Auth Required: โ
Yes (Admin Bearer Token)
Content-Type: application/json
๐ Description
This endpoint allows an administrator to formally close a complaint after verifying that the reported issue has been fully resolved.
Closing a complaint confirms successful completion and triggers citizen feedback collection.
Only administrators have the authority to close complaints.
๐ Authentication
Include the admin access token in the request header:
๐ Path Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
UUID | โ | Unique complaint ID |
๐งพ Request Body (Optional)
```json { "closure_remarks": "Issue resolved and verified on-site." }