Units
PATCH
Update Units
Update an existing unit.
Required Permission:
Edit Unit
PATCH
/units/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, required | The name |
| position | integer | Optional | The position/order of the brand. | |
| description | String | Optional | string, optional | The description |
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Updated unit details