INPUT_OBJECT
UpdateUserRolesInput
Input for the updateUserRoles mutation. Allows granular add/remove of specific roles without replacing all roles.
link GraphQL Schema definition
1 input UpdateUserRolesInput { 4 2 # The user's ID 3 : ID! 7 5 # Role IDs to add to the user. These are validated against enabled applications. 6 : [ID!] 12 8 # Role IDs to remove from the user. These are NOT validated against enabled 9 # applications, 10 # allowing removal of roles from disabled or legacy apps. 11 : [ID!] 17 13 # Optionally, specify the organization to update roles for. 14 # Required if the requester is super-admin and the user belongs to multiple 15 # organizations. 16 : ID 18 }