Get Business Unit Info
Description
Get details of the business unit.
URL
/api/v1/businessUnit/info
Method: Get
Request Header
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCASB |
buId |
<Business Unit ID> |
Long |
The targeted business unit ID on FortiCASB. Business unit ID can be obtained through View or Remove Business User. Alternatively, it can also be obtained from the REST API Get Resource Map |
Content-Type | application/json | String |
Sample Request
Request URL |
GET https://www.forticasb.com/api/v1/businessUnit/info |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json buid: 6384 |
Response Variable
Name |
Required |
Type |
Description |
---|---|---|---|
companyId | Required | Long | Company ID |
companyName | Required | String | The registered parent company name in FortiCASB |
buId | Required | Long | Business unit ID |
displayName | Required | String | Business unit display name |
region | Required | String | Registered region |
companyEmail | Optional | String | Registered email |
primary | Optional | Boolean | Is primary or not |
users | Optional | long | Number of users |
Sample Response
{
"companyId":6,
"companyName":"qa",
"buId":6384,
"displayName":"aaa",
"region":"global",
"companyEmail":"",
"primary":false,
"users":0
}