Docs
Update Schedule Block Type
PUT /schedule-block-types/{id}
PUT
/schedule-block-types/{id}Updates a schedule block type's name, label, icon, color and default resource state. isArchived archives or unarchives it on every call, so send the current value to leave it unchanged. The id comes from Resources_GetScheduleBlockTypes.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| id | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| label | string | Optional | |
| icon | string | Optional | |
| color | string | Optional | |
| defaultResourceStateId | uuid | Optional | |
| isArchived | boolean | Optional |