PUT api/2.0/settings/security/loginsettings This function requires authentication

Description

Updates the login settings with the parameters specified in the request.

Parameters
Name Description Type Example
AttemptCount
sent in body
Maximum number of the user attempts to log in number 1234
BlockTime
sent in body
The duration of the account suspension for unsuccessful login attempts number 1234
CheckPeriod
sent in body
Expected server response time number 1234
Example
PUT api/2.0/settings/security/loginsettings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "AttemptCount": 1234,
  "BlockTime": 1234,
  "CheckPeriod": 1234
}
Returns

Updated login settings

Example Response
{
  "status": 0,
  "response": {
    "AttemptCount": 1234,
    "BlockTime": 1234,
    "CheckPeriod": 1234
  }
}