Authorization: Bearer ********************
{
"active": false,
"networks": {
"add": [
"200.200.200.200"
],
"delete": [
"100.100.200.100"
]
}
}
curl --location --request PATCH 'https://api.vpsbg.eu/v1/network-protection//whitelist' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"active": false,
"networks": {
"add": [
"200.200.200.200"
],
"delete": [
"100.100.200.100"
]
}
}'
{
"active": true,
"networks": [
"10.10.10.10"
]
}