PUT api/users/{id}
Updates basic profile information for a specified user.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the user to update. |
integer |
Required |
Body Parameters
The updated user profile information including name, email, and optionally username.
UpdateUserDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
Unique id of the user |
integer |
None. |
| userName |
UID (login name / SSO UID) |
string |
None. |
| firstName |
First Name |
string |
None. |
| lastName |
Last Name |
string |
None. |
|
Users email address |
string |
None. |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"userId": 1,
"userName": "sample string 2",
"firstName": "sample string 3",
"lastName": "sample string 4",
"email": "sample string 5"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
On success: HTTP 200 OK. On failure: HTTP 400 Bad Request if the caller is unauthorized or an error occurs.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/scim+json
Sample:
Sample not available.