UserRoleAssignment is an input datatype for assigning a user role. It's used by the changeUserAndGroupRolesForSearchDomain() mutation field.

Table: UserRoleAssignment

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Sep 23, 2024
userIdstringyes Long-TermThe unique identifier of the user for which to assign the role.
roleIdstringyes Long-TermThe unique identifier for the role to assign.