Docs
Assign Role
POST /eventTypes/{typeId}/sections/{sectionId}/roles
POST
/eventTypes/{typeId}/sections/{sectionId}/rolesPlaces a library role in a section of an event type, with defaultIsRequired, defaultIsTaskTracked, whether the tracked task needs review (only allowed when tracked), and its index. It fails if the role is already in that section. Role ids come from EventTypes_GetEventRoles and section ids from EventTypes_GetEventType. The change is then pushed to the type's events, on a best-effort basis. Requires organization admin.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | uuid | Required | |
| sectionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| roleDefinitionId | uuid | Optional | |
| defaultIsRequired | boolean | Optional | |
| defaultIsTaskTracked | boolean | Optional | |
| isTaskReviewRequired | boolean | Optional | |
| index | integer | Optional |