POST api/reportserver/v1/userroles/{id}/permissions
Creates a new permission for the specified user/user role.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the user/user role. |
string |
Required |
Body Parameters
Permission model.
CreatePermissionModelName | Description | Type | Additional information |
---|---|---|---|
Access |
Specifies the access permission. |
AccessPermission |
Required |
ResourceId |
Identifies the resource for which the permission applies. |
string |
None. |
Scope |
Specifies the permission scope. |
PermissionScope |
Required |
Request body formats
application/json, text/json
{ "Access": 1, "ResourceId": "sample string 1", "Scope": 0 }
Response Information
Resource Description
The ID of the new permission.
stringName | Description | Type | Additional information |
---|
Response Formats
application/json, text/json
"sample string 1"