AM Logo
API AuthorizationAPI DocumentationForm DefinitionsFAQ
  1. Home
  2. API Documentation
  3. Outcomes
  4. Mutations
  5. assignOrganizationalUnitRoles

assignOrganizationalUnitRoles: Boolean!

This mutation is used to assign organizational unit roles to staff members. This mutation can be used on multiple organizational unit roles and multiple staff members. **Returns:** Returns true if process was completed successfully.

roleIds: [UUID!]!

The role IDs of the roles being assigned.

organizationalUnitIds: [UUID]!

The IDs of the organizational units that will receive the roles.

staffMemberIds: [UUID!]!

The IDs of the staff members who are receiving the roles.