PUT api/ApplicationUser/{username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

Body Parameters

ApplicationUser
NameDescriptionTypeAdditional information
UserName

string

None.

Email

string

None.

FirstName

string

None.

LastName

string

None.

LastChanged

date

None.

Roles

Collection of string

None.

NewPassword

string

None.

OldPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Email": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "LastChanged": "2025-01-22T00:02:12.4570318-05:00",
  "Roles": [
    "sample string 1",
    "sample string 2"
  ],
  "NewPassword": "sample string 6",
  "OldPassword": "sample string 7"
}

application/xml, text/xml

Sample:
<ApplicationUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Common.Models">
  <Email>sample string 2</Email>
  <FirstName>sample string 3</FirstName>
  <LastChanged>2025-01-22T00:02:12.4570318-05:00</LastChanged>
  <LastName>sample string 4</LastName>
  <NewPassword>sample string 6</NewPassword>
  <OldPassword>sample string 7</OldPassword>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Roles>
  <UserName>sample string 1</UserName>
</ApplicationUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.