Departments
PATCH
Update Departments
Update an existing department.
Required Permission:
Edit Department
PATCH
/departments/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, required | The name |
| description | String | Optional | string, optional | The description |
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Updated department details