Reads or updates the block by proxy settings.
API URL
GET https://<host>/wsapis/v2.0.0/config/network/opmodeconf/blockbyproxy
POST https://<host>/wsapis/v2.0.0/config/network/opmodeconf/blockbyproxy -d <payload>
Payload
POST payload example: {"match_string" : "__UPDATED_BBP__", "enable":true}
Sample curl requests
Read:
curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/opmodeconf/blockbyproxy {"match_string":"__FIREEYE_BLOCK_BY_PROXY__","enable":false}
Update:
curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/opmodeconf/blockbyproxy -d '{"match_string" : "__UPDATED_BBP__", "enable":true}' -H 'content-type:application/json'
Read-back:
curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/opmodeconf/blockbyproxy {"match_string":"__UPDATED_BBP__","enable":true}
Sample curl response
Update:
{"error":false,"message":"BBP config updated"}
Availability
This command is available on the following platforms:
Network Security
Helix Enterprise
Authentication
Standard WSAPI authentication
Response mime type
application/json