Customers policy tab permission
GET example
Request
GET http://localhost:8080/fpc/api/customers/1/policytabs
Headers
accept: application/json
content-type: application/json
fpc-sid: $FPCSID
Cookie: JSESSIONID=$FPCSID
Response
{
"centralNat": false,
"interfacePolicy6": false,
"dosPolicy6": false,
"policy64": false,
"interfacePolicy": false,
"policy6": false,
"dosPolicy": true,
"policy46": false,
"id": 1,
"customerId": 1
}
POST example (update policy 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
{
"centralNat": false,
"interfacePolicy6": false,
"dosPolicy6": false,
"policy64": false,
"interfacePolicy": false,
"policy6": false,
"dosPolicy": false,
"policy46": true,
"customerId": 1
}
Response
Status 200 OK