PUT api/Account/Update/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
UpdateBindingModelName | Description | Type | Additional information |
---|---|---|---|
string |
Required |
||
Password | string |
Data type: Password String length: inclusive between 6 and 100 |
|
ConfirmPassword | string |
Data type: Password |
|
Role | string |
Required |
|
OldEmail | string |
Required |
|
DisplayName | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "Password": "sample string 2", "ConfirmPassword": "sample string 3", "Role": "sample string 4", "OldEmail": "sample string 5", "DisplayName": "sample string 6" }
text/html
Sample:
{"Email":"sample string 1","Password":"sample string 2","ConfirmPassword":"sample string 3","Role":"sample string 4","OldEmail":"sample string 5","DisplayName":"sample string 6"}
application/xml, text/xml
Sample:
<UpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetAPI.Models"> <ConfirmPassword>sample string 3</ConfirmPassword> <DisplayName>sample string 6</DisplayName> <Email>sample string 1</Email> <OldEmail>sample string 5</OldEmail> <Password>sample string 2</Password> <Role>sample string 4</Role> </UpdateBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.