<h1>PUT api/reportserver/v2/users/local</h1>
<div>
<p>
Updates a local user.
</p>

<h2>Request Information</h2>

<h3>URI Parameters</h3>
<p>None.</p>

<h3>Body Parameters</h3>

<p>Local user model.</p>

<a href="/implementer-guide/apis/rest-api/v2/updatelocaluserdata">UpdateLocalUserData</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>
Specifies ID of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">RoleIds</td>
<td class="parameter-documentation">
<p>
Specifies the user role IDs which the user is assigned to.
If left null user roles will remain unchanged. Otherwise the collection will be used as the new set of user role IDs.
</p>
</td>
<td class="parameter-type">
Collection of string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Email</td>
<td class="parameter-documentation">
<p>
Specifies the email of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">FirstName</td>
<td class="parameter-documentation">
<p>
Specifies the first name of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">LastName</td>
<td class="parameter-documentation">
<p>
Specifies the last name of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Enabled</td>
<td class="parameter-documentation">
<p>
Specifies whether the local user is enabled or not.
</p>
</td>
<td class="parameter-type">
boolean

</td>
<td class="parameter-annotations">
<p>None.</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
{
  "Id": "1bbce328012",
  "RoleIds": [
    "ef4c1b75ec3",
    "4d067514554"
  ],
  "Email": "john.smith@example.com",
  "FirstName": "Maria",
  "LastName": "Johnson",
  "Enabled": true
}
```

</div>
</div>

<h2>Response Information</h2>

<h3>Resource Description</h3>

<p></p>

<a href="/implementer-guide/apis/rest-api/v2/user">User</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>
Specifies the user identifier.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Username</td>
<td class="parameter-documentation">
<p>
Specifies the username of the user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">FirstName</td>
<td class="parameter-documentation">
<p>
Specifies the first name of the user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">LastName</td>
<td class="parameter-documentation">
<p>
Specifies the last name of the user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Email</td>
<td class="parameter-documentation">
<p>
Specifies the email of the user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Enabled</td>
<td class="parameter-documentation">
<p>
Specifies whether the user is enabled or not.
</p>
</td>
<td class="parameter-type">
boolean

</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": "1bbce328012",
  "Username": "maria.garcia",
  "FirstName": "Maria",
  "LastName": "Johnson",
  "Email": "john.smith@example.com",
  "Enabled": true
}
```

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