POST api/reportserver/userroles/{id}/permissions

Creates a new permission for the specified user/user role.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the user/user role.

string

Required

Body Parameters

Permission model.

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

Sample:
{
  "Access": 1,
  "ResourceId": "sample string 1",
  "Scope": 0
}

Response Information

Resource Description

The ID of the new permission.

string
NameDescriptionTypeAdditional information

Response Formats

application/json, text/json

Sample:
"sample string 1"
In this article
Not finding the help you need?