PUT api/reportserver/v1/users/local/{userId}
Updates a local user.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
User ID. |
string |
Required |
Body Parameters
Local user model.
UpdateLocalUserDataV1| Name | Description | Type | Additional information |
|---|---|---|---|
|
Specifies the email of the local user. |
string |
Required |
|
| FirstName |
Specifies the first name of the local user. |
string |
Required |
| LastName |
Specifies the last name of the local user. |
string |
Required |
| Enabled |
Specifies whether the local user is enabled or not. |
boolean |
None. |
Request body formats
application/json, text/json
{
"Email": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Enabled": true
}
Response Information
Resource Description
User| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Specifies the user identifier. |
string |
None. |
| Username |
Specifies the username of the user. |
string |
None. |
| FirstName |
Specifies the first name of the user. |
string |
None. |
| LastName |
Specifies the last name of the user. |
string |
None. |
|
Specifies the email of the user. |
string |
None. |
|
| Enabled |
Specifies whether the user is enabled or not. |
boolean |
None. |
Response Formats
application/json, text/json
{
"Id": "sample string 1",
"Username": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Email": "sample string 5",
"Enabled": true
}