Fortinet black logo

Online Help

Get Resource Map

Get Resource Map

Description

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

Company ID (companyID), role ID (roleId), 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 Headers

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 Variables

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 the user and account basic information from FortiCASB, including the company ID, role ID, user name, bushiness unit IDs, etc.

Company ID (companyID), role ID (roleId), 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 Headers

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 Variables

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

}

]

}

]