Update resource
Partially updates a resource. Only provided fields change.
On success the API returns 200 OK with the updated resource body.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
resourceId | string (uuid) | Yes | The resource to update. |
Request body
All fields optional — send only what changes.
| Name | Type | Description |
|---|---|---|
name | string | Resource name. |
costType | string | Hour / Use / Flat. An unparseable value is silently skipped rather than rejected. |
costValue | number | Cost amount. |
color | string | #RRGGBB. |
initials | string | Short label shown on chips. |