New to Telerik Report Server? Start a free 30-day trial

PUT api/reportserver/v2/users/{userId}/userroles

Updates the user roles of the specified user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

User ID.

string

Required

Body Parameters

User roles model.

UpdateUserRolesModel

NameDescriptionTypeAdditional information
UserRoleIds

Specifies a list of IDs of the roles which should be assigned to the user.

Collection of string

Required

Request body formats

application/json, text/json

json
{
  "UserRoleIds": [
    "774385f107b",
    "e1cc3d73b8c"
  ]
}

Response Information

Resource Description

None.

Not finding the help you need?
Contact Support