Skip to content

โœ… 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." }