PUT api/reportserver/v2/users/{userId}/roles
Updates the user roles of the specified user.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
User ID. |
string |
Required |
Body Parameters
User roles model.
UpdateUserRolesModelName | Description | Type | Additional 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
Sample:
{ "UserRoleIds": [ "sample string 1", "sample string 2" ] }
Response Information
Resource Description
None.