New to Telerik Report Server? Start a free 30-day trial
PUT api/reportserver/v3/users/{userId}
Updates the user with the specified ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
The user ID. | string |
Required |
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
|
Specifies the email address. | string |
Required | |
| FirstName |
Specifies the first name. | string |
Required |
| LastName |
Specifies the last name. | string |
Required |
| Enabled |
Specifies whether the user is enabled. | boolean |
None. |
| RoleIds |
Provides the IDs of the roles assigned to the user. | Collection of string |
None. |
Request body formats
application/json, text/json, application/*+json
json
{
"Email": "jane.doe@example.com",
"FirstName": "John",
"LastName": "Garcia",
"Enabled": true,
"RoleIds": [
"d8c051b1220",
"727c27bdfa1"
]
}
Response Information
Resource Description
| 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
json
{
"Id": "f9d2be360ee",
"Username": "alex.johnson",
"FirstName": "John",
"LastName": "Garcia",
"Email": "jane.doe@example.com",
"Enabled": true
}