v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
UserProfile

List Sub-accounts

List all sub-accounts that are managed by the YourAccount account by invoking the following endpoint:

GET https://YourAccount.lacework.net/api/v2/UserProfile

For example, if you specify the IT20.MyCompany organization account in YourAccount, this lists all sub-accounts of the IT20 account.

Here is an example invocation:

GET https://IT20.MyCompany.lacework.net/api/v2/UserProfile

The response reports details about organization accounts and non-organization accounts in addition to authorization and privilege details.

get/api/v2/UserProfile

Headers

Authorizationstring required

Bearer Access Token. For example, "Bearer {YourAPIToken}"

Content-Typestring required

application/json

Org-Accessboolean

Use this attribute to specify if the access token has organization admin permissions. If the access token has only account permissions, use the Account-Name attribute to specify which account to access.

Account-Namestring

Use this attribute to specify which sub-account to access.

Response

List of Sub-accounts