โ๏ธ Update Volunteer Group
Endpoint: PATCH /api/admin/volunteers/groups/{id}/
Auth Required: โ
Yes (Admin Bearer Token)
Content-Type: application/json
๐ Description
This endpoint allows administrators to update the details of an existing volunteer group (army).
Admins may modify descriptive information such as name or purpose, but critical group attributes like tier cannot be changed once the group is active, to preserve system integrity and member safety.
๐ Authentication
Include the admin access token in the request header:
๐ Path Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
UUID | โ | Unique volunteer group ID |
๐งพ Request Body (Partial Update)
```json { "name": "Clean City Action Army", "description": "Updated description for improved public awareness." }