Skip to main content

updateUserRoles

Replaces a user's roles with the specified set. Currently only one role assignment is supported.

updateUserRoles(
id: UUID!
input: [Role!]!
): User

Arguments

updateUserRoles.id ● UUID! non-null scalar

The UUID of the user to update.

updateUserRoles.input ● [Role!]! non-null enum

The new role assignments for the user.

Type

User object

A representation of a human user account.