Docs

Assign Role

POST /eventTypes/{typeId}/sections/{sectionId}/roles

POST/eventTypes/{typeId}/sections/{sectionId}/roles

Places 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

FieldTypeRequiredDescription
typeIduuidRequired
sectionIduuidRequired

Request Body

FieldTypeRequiredDescription
roleDefinitionIduuidOptional
defaultIsRequiredbooleanOptional
defaultIsTaskTrackedbooleanOptional
isTaskReviewRequiredbooleanOptional
indexintegerOptional