Update IP addresses list
PATCH
https://api.vpsbg.eu/v1/network-protection/{id}/whitelistThis endpoint allows you to add and remove specific IP addresses from the list. Also you can switch the status of the whitelist module.
Request
Path Params
id
integer
required
Your IP Address identificator.
Body Params application/json
active
boolean
optional
networks
object
optional
add
array[string]
optional
delete
array[string]
optional
Example
{
"active": false,
"networks": {
"add": [
"200.200.200.200"
],
"delete": [
"100.100.200.100"
]
}
}
Request samples
Responses
Updated(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
active
boolean
required
networks
array[string]
required
Example
Not configured
Last modified: 2 months ago