create_user_role
Create a new user role with specific permissions and assign it to users within an organization unit.
Instructions
Create a new user role for an organization unit (PREVIEW endpoint). Required: roleName, description, permissionIds. Optional: userIds to assign the role to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgUnitId | Yes | The organization unit ID | |
| roleName | Yes | The name of the role | |
| description | Yes | Description of the role | |
| permissionIds | Yes | Permission IDs to grant | |
| userIds | No | Optional user IDs to assign the role to |