Skip to main content

changeOrganizationUserRole

Change a user's role in an organization Replaces all existing roles with the new role Users cannot change their own role (returns error) Requires change-user-roles permission on the organization

changeOrganizationUserRole(
organizationId: String!
userId: String!
newRole: String!
): Boolean!

Arguments

changeOrganizationUserRole.organizationId ● String! non-null scalar

changeOrganizationUserRole.userId ● String! non-null scalar

changeOrganizationUserRole.newRole ● String! non-null scalar

Type

Boolean scalar

The Boolean scalar type represents true or false.