UserRoleAssignmentInput is an input datatype for assigning user roles. It's used by the datatype, AssignUserRolesInSearchDomainInput, which is in turn used by the assignUserRolesInSearchDomain() mutation field.

Table: UserRoleAssignmentInput

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: Aug 18, 2025
roleIds[string]yes Short-TermA list of unique identifiers for roles to assign.
userIdstringyes Short-TermThe unique identifier of the user for whom roles will be assigned.