POST user/editPasswordPolicy
Request Information
URI Parameters
None.
Body Parameters
PasswordPolicy| Name | Description | Type | Additional information |
|---|---|---|---|
| TenantId | integer |
None. |
|
| PasswordTypeId | integer |
None. |
|
| PasswordTypeName | string |
None. |
|
| MinLength | integer |
None. |
|
| ContainUpperLower | boolean |
None. |
|
| ContainNumbers | boolean |
None. |
|
| ContainSpecial | boolean |
None. |
|
| HasPasswordExpiry | boolean |
None. |
|
| ExpiryDays | integer |
None. |
|
| LockAccount | boolean |
None. |
|
| LockAccountAfterRetries | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TenantId": 1,
"PasswordTypeId": 2,
"PasswordTypeName": "sample string 3",
"MinLength": 4,
"ContainUpperLower": true,
"ContainNumbers": true,
"ContainSpecial": true,
"HasPasswordExpiry": true,
"ExpiryDays": 1,
"LockAccount": true,
"LockAccountAfterRetries": 1
}
text/html
Sample:
{"TenantId":1,"PasswordTypeId":2,"PasswordTypeName":"sample string 3","MinLength":4,"ContainUpperLower":true,"ContainNumbers":true,"ContainSpecial":true,"HasPasswordExpiry":true,"ExpiryDays":1,"LockAccount":true,"LockAccountAfterRetries":1}
application/xml, text/xml
Sample:
<PasswordPolicy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Users"> <ContainNumbers>true</ContainNumbers> <ContainSpecial>true</ContainSpecial> <ContainUpperLower>true</ContainUpperLower> <ExpiryDays>1</ExpiryDays> <HasPasswordExpiry>true</HasPasswordExpiry> <LockAccount>true</LockAccount> <LockAccountAfterRetries>1</LockAccountAfterRetries> <MinLength>4</MinLength> <PasswordTypeId>2</PasswordTypeId> <PasswordTypeName>sample string 3</PasswordTypeName> <TenantId>1</TenantId> </PasswordPolicy>
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.