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: F08B913D590835973279E4F035C0DC03

Cookie: JSESSIONID=F08B913D590835973279E4F035C0DC03

Response

{

"id": 1,

"dashboard": true,

"view": true,

"wifi": false,

"reports": true,

"policy": true,

"objects": true,

"additionalResources": true,

"deviceManager": false,

"auditLogs": true,

"customerId": 1

}

POST example (update tab permissions)

Request

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

Headers

accept: application/json

content-type: application/json

fpc-sid: F08B913D590835973279E4F035C0DC03

Cookie: JSESSIONID=F08B913D590835973279E4F035C0DC03

Payload

{

"id": 1,

"dashboard": true,

"view": true,

"wifi": true,

"reports": true,

"policy": false,

"objects": true,

"additionalResources": true,

"deviceManager": true,

"auditLogs": true,

"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: F08B913D590835973279E4F035C0DC03

Cookie: JSESSIONID=F08B913D590835973279E4F035C0DC03

Response

{

"id": 1,

"dashboard": true,

"view": true,

"wifi": false,

"reports": true,

"policy": true,

"objects": true,

"additionalResources": true,

"deviceManager": false,

"auditLogs": true,

"customerId": 1

}

POST example (update tab permissions)

Request

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

Headers

accept: application/json

content-type: application/json

fpc-sid: F08B913D590835973279E4F035C0DC03

Cookie: JSESSIONID=F08B913D590835973279E4F035C0DC03

Payload

{

"id": 1,

"dashboard": true,

"view": true,

"wifi": true,

"reports": true,

"policy": false,

"objects": true,

"additionalResources": true,

"deviceManager": true,

"auditLogs": true,

"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