PUT api/2.0/settings/iprestrictions/settings
Updates the IP restriction settings with a parameter specified in the request.
Name |
Description |
Type |
Example |
enable
sent in body
|
Specifies whether to enable IP restrictions or not
|
Bool value
|
true
|
PUT api/2.0/settings/iprestrictions/settings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"enable": true
}
Updated IP restriction settings
application/json
{
"status": 0,
"response": {
"Enable": true
}
}
text/xml
<result>
<status>0</status>
<response>
<Enable>True</Enable>
</response>
</result>