Create departments
yougile_departments_createCreate a new department by providing a title. Optionally specify a parent department to set hierarchy or assign users with roles.
Instructions
Create a department.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Department title. | |
| parentId | No | Parent department id. | |
| users | No | Map of userId → role, e.g. {"<uuid>":"admin"}. |