PUT api/user/profile

Updates the current authenticated user's profile information. Email changes require verification.

Request Information

URI Parameters

None.

Body Parameters

Updated user profile information including first name, last name, and optionally email.

UserProfileDTO
NameDescriptionTypeAdditional information
UserId

string

None.

Email

string

None.

FirstName

string

None.

LastName

string

None.

IsEmailVerified

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "email": "sample string 2",
  "firstName": "sample string 3",
  "lastName": "sample string 4",
  "isEmailVerified": true
}

application/xml, text/xml

Sample:
<UserProfileDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CruiseParking.Website.API.Models">
  <Email>sample string 2</Email>
  <FirstName>sample string 3</FirstName>
  <IsEmailVerified>true</IsEmailVerified>
  <LastName>sample string 4</LastName>
  <UserId>sample string 1</UserId>
</UserProfileDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Updated user profile information.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.