<h1>POST api/reportserver/v2/users/{id}/permissions</h1>
<div>
<p>
Creates a new permission for the specified user/user role.
</p>

<h2>Request Information</h2>

<h3>URI Parameters</h3>
<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">id</td>
<td class="parameter-documentation">
<p>The ID of the user/user role.</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
</tbody>
</table>

<h3>Body Parameters</h3>

<p>Permission model.</p>

<a href="/implementer-guide/apis/rest-api/v2/createpermissionmodel">CreatePermissionModel</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">Access</td>
<td class="parameter-documentation">
<p>
Specifies the access permission.
</p>
</td>
<td class="parameter-type">
<a href="/implementer-guide/apis/rest-api/v2/accesspermission">AccessPermission</a>

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">ResourceId</td>
<td class="parameter-documentation">
<p>
Identifies the resource for which the permission applies.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Scope</td>
<td class="parameter-documentation">
<p>
Specifies the permission scope.
</p>
</td>
<td class="parameter-type">
<a href="/implementer-guide/apis/rest-api/v2/permissionscope">PermissionScope</a>

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
</tbody>
</table>
<h3>Request body formats</h3>
<div>
<h4 class="sample-header">application/json, text/json</h4>
<div class="sample-content">

```json
{
  "Access": 1,
  "ResourceId": "ea5ab1e9d99",
  "Scope": 0
}
```

</div>
</div>

<h2>Response Information</h2>

<h3>Resource Description</h3>

<p></p>

<a href="/implementer-guide/apis/rest-api/v2/permission">Permission</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">Id</td>
<td class="parameter-documentation">
<p>
Permission identifier.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">PermissionCategory</td>
<td class="parameter-documentation">
<p>
Specifies the permission category.
</p>
</td>
<td class="parameter-type">
<a href="/implementer-guide/apis/rest-api/v2/permissioncategory">PermissionCategory</a>

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Access</td>
<td class="parameter-documentation">
<p>
Specifies the access permission.
</p>
</td>
<td class="parameter-type">
<a href="/implementer-guide/apis/rest-api/v2/accesspermission">AccessPermission</a>

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">ResourceId</td>
<td class="parameter-documentation">
<p>
Specifies the ID of the secured resource.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Scope</td>
<td class="parameter-documentation">
<p>
Specifies the scope of the permission.
</p>
</td>
<td class="parameter-type">
integer

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
</tbody>
</table>

<h3>Response Formats</h3>
<div>
<h4 class="sample-header">application/json, text/json</h4>
<div class="sample-content">

```json
{
  "Id": "77b3f0a1f6a",
  "PermissionCategory": 0,
  "Access": 1,
  "ResourceId": "ea5ab1e9d99",
  "Scope": 1708
}
```

</div>
</div>
</div>
