PUT api/2.0/settings/iprestrictions/settings This function requires authentication

Description

Updates the IP restriction settings with a parameter specified in the request.

Parameters
Name Description Type Example
IpRestrictions
sent in body
List of IP addresses Collection of ASC.IPSecurity.IpRestrictionBases
collection
Enable
sent in body
Enables IP restrictions or not Bool value true
Example
PUT api/2.0/settings/iprestrictions/settings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Enable": true
}
Returns

Updated IP restriction settings