Fortinet black logo

online help

Get Resource Map

Copy Link
Copy Doc ID ceffee45-ba54-11ea-8b7d-00505692583a:391281

Get Resource Map

Description

Get all users and account basic information from FortiCASB, including the company ID, user name, bushiness unit IDs, etc.

Company ID (companyID) and business unit ID (buId) are the response variables that you will need to call many other FortiCASB REST APIs.

URL

/api/v1/resourceURLMap

Method: GET

Request Header

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCASB
Content-Type application/json String

Sample Request

Request URL

GET https://www.forticasb.com/api/v1/resourceURLMap

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Response Variable

Name

Type

Description

resourceURL String API request endpoint
roleId Long Login user identity
username String Login user name
buMapSet.companyId Long Company ID (companyId) of which the business unit is under.
buMapSet.buId Long Business unit ID (buId) of which the user account is under.
buMapSet.buName String Business unit name

Sample Response

[

{

"resourceURL":"https://qa1.staging.forticasb.com",

"roleId":1,

"username":"casb qacasb1",

"buMapSet":[

{

"buName":"research authentication",

"companyId":6,

"buId":238187

},

{

"buName":"aaa",

"companyId":6,

"buId":6384

}

]

}

]

Get Resource Map

Description

Get all users and account basic information from FortiCASB, including the company ID, user name, bushiness unit IDs, etc.

Company ID (companyID) and business unit ID (buId) are the response variables that you will need to call many other FortiCASB REST APIs.

URL

/api/v1/resourceURLMap

Method: GET

Request Header

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCASB
Content-Type application/json String

Sample Request

Request URL

GET https://www.forticasb.com/api/v1/resourceURLMap

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Response Variable

Name

Type

Description

resourceURL String API request endpoint
roleId Long Login user identity
username String Login user name
buMapSet.companyId Long Company ID (companyId) of which the business unit is under.
buMapSet.buId Long Business unit ID (buId) of which the user account is under.
buMapSet.buName String Business unit name

Sample Response

[

{

"resourceURL":"https://qa1.staging.forticasb.com",

"roleId":1,

"username":"casb qacasb1",

"buMapSet":[

{

"buName":"research authentication",

"companyId":6,

"buId":238187

},

{

"buName":"aaa",

"companyId":6,

"buId":6384

}

]

}

]