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.
Headers
Bearer Access Token. For example, "Bearer {YourAPIToken}"
application/json
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.
Use this attribute to specify which sub-account to access.
Response
List of Sub-accounts