New to Telerik Report Server? Start a free 30-day trial
POST api/reportserver/v3/users
Creates a new user.
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Type |
Specifies the user type. | UserType |
Required |
| Username |
Specifies the username. | string |
Required |
| Password |
Specifies the password for local users. | string |
None. |
|
Specifies the email address. | string |
Required | |
| FirstName |
Specifies the first name. | string |
None. |
| LastName |
Specifies the last name. | string |
None. |
| 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
{
"Type": "Local",
"Username": "alex.johnson",
"Password": "SAMPLE-PASSWORD-PLACEHOLDER",
"Email": "john.smith@example.com",
"FirstName": "Maria",
"LastName": "Johnson",
"Enabled": true,
"RoleIds": [
"9c792ac0ce9",
"cebd51a12ea"
]
}
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": "8d9bc70eafb",
"Username": "alex.johnson",
"FirstName": "Maria",
"LastName": "Johnson",
"Email": "john.smith@example.com",
"Enabled": true
}