New to Telerik Report ServerStart a free 30-day trial

POST api/reportserver/v2/users/{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

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

Response Information

Resource Description

Permission

NameDescriptionTypeAdditional information
Id

Permission identifier.

string

None.

PermissionCategory

Specifies the permission category.

PermissionCategory

None.

Access

Specifies the access permission.

AccessPermission

None.

ResourceId

Specifies the ID of the secured resource.

string

None.

Scope

Specifies the scope of the permission.

integer

None.

Response Formats

application/json, text/json

json
{
  "Id": "sample string 1",
  "PermissionCategory": 0,
  "Access": 1,
  "ResourceId": "sample string 2",
  "Scope": 3
}
Not finding the help you need?
Contact Support