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 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
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Enable": true
}
Returns

List of updated IP restrictions