CloudAccounts
List All Cloud Accounts
Get a list of cloud accounts for the current user by invoking the following endpoint:
GET https://YourAccount.lacework.net/api/v2/CloudAccounts
get/api/v2/CloudAccounts
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
No Error (List of Cloud Accounts)
Example response
{
"data": [
{
"enabled": 1
}
]
}