POST api/Account/ChangeUsername

Request Information

URI Parameters

None.

Body Parameters

ChangeUsernameBindingModel
NameDescriptionTypeAdditional information
UserId

integer

None.

NewUsername

string

Required

ConfirmUsername

string

None.

ConfirmEmailUrl

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "NewUsername": "sample string 2",
  "ConfirmUsername": "sample string 3",
  "ConfirmEmailUrl": "sample string 4"
}

application/xml, text/xml

Sample:
<ChangeUsernameBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pass.WebApi.Models">
  <ConfirmEmailUrl>sample string 4</ConfirmEmailUrl>
  <ConfirmUsername>sample string 3</ConfirmUsername>
  <NewUsername>sample string 2</NewUsername>
  <UserId>1</UserId>
</ChangeUsernameBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.