Get Started
API backend
API system
More information

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

Description

Saves the new portal IP restrictions 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
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Enable": true
}
Returns

List of updated IP restrictions