POST api/userapi/changewebapppassword

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordViewModel
NameDescriptionTypeAdditional information
id

globally unique identifier

Required

new_password

string

Required

Matching regular expression pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[ !"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~])[A-Za-z\d !"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~]{8,}$

confirm_password

string

Required

Request Formats

application/json, text/json

Sample:
{
  "id": "0bc7d374-3be3-4331-bfd6-d1beb1697c20",
  "new_password": "sample string 2",
  "confirm_password": "sample string 3"
}

application/xml, text/xml

Sample:
<change_password xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <confirm_password>sample string 3</confirm_password>
  <id>0bc7d374-3be3-4331-bfd6-d1beb1697c20</id>
  <new_password>sample string 2</new_password>
</change_password>

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 'ChangePasswordViewModel'.

Response Information

Resource Description

None.