New to Telerik Report ServerStart a free 30-day trial

PUT api/reportserver/userroles

Updates a user role by ID.

Request Information

URI Parameters

None.

Body Parameters

User role model.

UserRole

NameDescriptionTypeAdditional 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.

Request body formats

application/json, text/json

json
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "IsSystemRole": true,
  "UserIds": [
    "sample string 1",
    "sample string 2"
  ]
}

Response Information

Resource Description

UserRole

NameDescriptionTypeAdditional 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, text/json

json
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "IsSystemRole": true,
  "UserIds": [
    "sample string 1",
    "sample string 2"
  ]
}
Not finding the help you need?
Contact Support