New to Telerik Report Server? Start a free 30-day trial
PUT api/reportserver/v3/roles/{userRoleId}
Updates the role with the specified ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userRoleId |
The role ID. | string |
Required |
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Specifies the user role name. | string |
Required |
| Description |
Specifies the description of the user role. | string |
None. |
| IsSystemRole |
Indicates whether the user role is a system role or not. | boolean |
None. |
| UserIds |
Returns a list of IDs of users that are assigned to the role. | Collection of string |
None. |
Request body formats
application/json, text/json, application/*+json
json
{
"Name": "HR Reports",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"IsSystemRole": true,
"UserIds": [
"61f3f7c4d60147879f3a8ad4e197dc7a",
"7b61427b38b24dc38e7920a87ec02baf"
]
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Specifies the role identifier. | string |
Required |
| Name |
Specifies the user role name. | string |
Required |
| Description |
Specifies the description of the user role. | string |
None. |
| IsSystemRole |
Indicates whether the user role is a system role or not. | boolean |
None. |
| UserIds |
Returns a list of IDs of users that are assigned to the role. | Collection of string |
None. |
Response Formats
application/json
json
{
"Id": "9b2819ba1eb",
"Name": "HR Reports",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"IsSystemRole": true,
"UserIds": [
"61f3f7c4d60147879f3a8ad4e197dc7a",
"7b61427b38b24dc38e7920a87ec02baf"
]
}