Customers policy and objects permission
GET example
Request
GET http://localhost:8080/fpc/api/customers/1/policyobjects
Headers
accept: application/json
content-type: application/json
fpc-sid: $FPCSID
Cookie: JSESSIONID=$FPCSID
Response
{
"id": 1,
"customerId": 1,
"webfilter": false,
"applicationControl": false,
"antiSpam": false,
"dlp": false,
"firewallAddress": false,
"schedule": false,
"policyObjectWrite": false,
"ipsSensor": false,
"antivirus": false,
"user": false,
"userGroup": false,
"vip": false,
"localCategory": false,
"ratingOverrides": false,
"service": false
}
POST example (update tab permissions)
Request
POST http://localhost:8080/fpc/api/customers/1/policytabs
Headers
accept: application/json
content-type: application/json
fpc-sid: $FPCSID
Cookie: JSESSIONID=$FPCSID
Payload
{
"webfilter": true,
"applicationControl": false,
"antiSpam": false,
"dlp": false,
"firewallAddress": true,
"schedule": true,
"policyObjectWrite": true,
"ipsSensor": false,
"antivirus": false,
"user": false,
"userGroup": false,
"vip": false,
"localCategory": true,
"ratingOverrides": false,
"service": false
"customerId": 1
}
Response
Status 200 OK