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 input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for 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.