PUT api/users/{id}

Update the User Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique id of the user

integer

Required

Body Parameters

The Users New details

UpdateUserDTO
NameDescriptionTypeAdditional information
userName

UID (login name / SSO UID)

string

None.

firstName

First Name

string

None.

lastName

Last Name

string

None.

email

Users email address

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "email": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateUserDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.