Mutations
/update_users_role
update_users_role
Updates the role of the specified users.
Arguments
user_ids
[ID!]!
Required
The ids of the users to update. (Limit: 200)new_role
BaseRoleName
The base role name (e.g. admin, member, etc.)role_id
ID
The ID of a custom role
Returns
- Updates the role of the specified users.
mutation update_users_role($user_ids: [ID!]!) { update_users_role(user_ids: $user_ids) { # update_users_role fields } }
Built with