POST api/reportserver/userroles
Creates a new user role.
Request Information
URI Parameters
None.
Body Parameters
User role model.
CreateUserRoleDataName | Description | Type | Additional information |
---|---|---|---|
Name |
Specifies the name of the user role. |
string |
Required |
Description |
Specifies the description of the user role. |
string |
None. |
UserIds |
The IDs of the assigned to the role users. |
Collection of string |
None. |
Request body formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "UserIds": [ "sample string 1", "sample string 2" ] }
Response Information
Resource Description
The ID of the new user role.
stringName | Description | Type | Additional information |
---|
Response Formats
application/json, text/json
Sample:
"sample string 1"