Updates the login settings with the parameters specified in the request.
Name | Description | Type | Example |
AttemptCount
sent in body
|
Maximum number of the user attempts to log in | System.Int32 | |
BlockTime
sent in body
|
The duration of the account suspension for unsuccessful login attempts | System.Int32 | |
CheckPeriod
sent in body
|
Expected server response time | System.Int32 |
PUT api/2.0/settings/security/loginsettings Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "AttemptCount": 1234, "BlockTime": 1234, "CheckPeriod": 1234 }
Updated login settings
application/json
{ "status": 0, "response": { "AttemptCount": 1234, "BlockTime": 1234, "CheckPeriod": 1234 } }
text/xml
<result> <status>0</status> <response> <AttemptCount>1234</AttemptCount> <BlockTime>1234</BlockTime> <CheckPeriod>1234</CheckPeriod> </response> </result>