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": "maria.garcia@example.com",
"FirstName": "Alex",
"LastName": "Doe",
"Enabled": true,
"RoleIds": [
"61f9ce7db92",
"9d31b2d73d3"
]
}
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": "ed9fa068fb4",
"Username": "john.smith",
"FirstName": "Alex",
"LastName": "Doe",
"Email": "maria.garcia@example.com",
"Enabled": true
}