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

Description

Sets the portal password settings.

Parameters
Name Description Type Example
MinLength
sent in body
Minimum password length
UpperCase
sent in body
Specifies if the password must include the uppercase letters or not Bool value true
Digits
sent in body
Specifies if the password must include the digits or not Bool value true
SpecSymbols
sent in body
Specifies if the password must include the special symbols or not Bool value true
Example
PUT api/2.0/settings/security/password
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "UpperCase": true,
  "Digits": true,
  "SpecSymbols": true
}
Returns

Password settings

Example Response
{
  "status": 0,
  "response": {
    "MinLength": 1234,
    "AllowedCharactersRegexStr": "some text",
    "UpperCase": true,
    "Digits": true,
    "DigitsRegexStr": "some text",
    "UpperCaseRegexStr": "some text",
    "SpecSymbols": true,
    "SpecSymbolsRegexStr": "some text"
  }
}