ResourceGroups
List All Resource Groups
Get a list of all resource groups for the account by invoking the following endpoint:
GET https://YourAccount.lacework.net/api/v2/ResourceGroups
get/api/v2/ResourceGroups
Headers
Authorizationstring required
Bearer Access Token. For example, "Bearer {YourAPIToken}"
Content-Typestring required
application/json
Account-Namestring
Use this attribute to specify which sub-account to access.
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.
Response
No Error (List of ResourceGroups)