Fortinet white logo
Fortinet white logo

Customers tab permission

Customers tab permission

GET example

Request

GET http://localhost:8080/fpc/api/customers/1/tabs

Headers

accept: application/json

content-type: application/json

fpc-sid: $FPCSID

Cookie: JSESSIONID=$FPCSID

Response

{

"id": 1,

"dashboard": true,

"view": true,

"wirelessNetwork": false,

"reports": true,

"rogueAp": false,

"policy": false,

"objects": false,

"additionalResources": false,

"customerId": 1

}

POST example (update tab permissions)

Request

POST http://localhost:8080/fpc/api/customers/1/tabs

Headers

accept: application/json

content-type: application/json

fpc-sid: $FPCSID

Cookie: JSESSIONID=$FPCSID

Payload

{

"wirelessNetwork": false,

"dashboard": true,

"view": true,

"reports": true,

"rogueAp": true,

"policy": false,

"objects": true,

"additionalResources": false,

"customerId": 1

}

If Analytics is enabled dashboard, view and reports will always be true (even if it is set false in JSON payload it will override) and vice-versa.

Response

Status 200 OK

Customers tab permission

Customers tab permission

GET example

Request

GET http://localhost:8080/fpc/api/customers/1/tabs

Headers

accept: application/json

content-type: application/json

fpc-sid: $FPCSID

Cookie: JSESSIONID=$FPCSID

Response

{

"id": 1,

"dashboard": true,

"view": true,

"wirelessNetwork": false,

"reports": true,

"rogueAp": false,

"policy": false,

"objects": false,

"additionalResources": false,

"customerId": 1

}

POST example (update tab permissions)

Request

POST http://localhost:8080/fpc/api/customers/1/tabs

Headers

accept: application/json

content-type: application/json

fpc-sid: $FPCSID

Cookie: JSESSIONID=$FPCSID

Payload

{

"wirelessNetwork": false,

"dashboard": true,

"view": true,

"reports": true,

"rogueAp": true,

"policy": false,

"objects": true,

"additionalResources": false,

"customerId": 1

}

If Analytics is enabled dashboard, view and reports will always be true (even if it is set false in JSON payload it will override) and vice-versa.

Response

Status 200 OK