v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
ResourceGroups

Update Resource Groups

Update a resource group by specifying parameters in the request body when invoking the following endpoint:

PATCH https://YourAccount.lacework.net/api/v2/ResourceGroups/{resourceGuid}

In the request body, only specify the parameters that you want to update, for example, { "enabled" : 0 }.

When updating query, both filters and expression must be provided together.

patch/api/v2/ResourceGroups/{resourceGuid}

Path parameters

resourceGuidstring required

Resource Group ID

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.

Request body

OR
OR
OR
OR
OR
OR

Response

No Error