Get Started
API backend
API system
More information

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 System.Collections.Generic.IEnumerable{ASC.IPSecurity.IpRestrictionBase}
Enable
sent in body
Enables IP restrictions or not System.Boolean
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