v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
DataExportRules

Update Data Export Rules

Update a data export rule by specifying parameters in the request body when invoking the following endpoint:

PATCH https://YourAccount.lacework.net/api/v2/DataExportRules/{mcGuid}

Replace {mcGuid} with the mcGuid value returned for a data export rule in the response when the GET /api/v2/DataExportRules endpoint is invoked.

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

patch/api/v2/DataExportRules/{mcGuid}

Path parameters

mcGuidstring required

Data Export Rule ID

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.

Request body

intgGuidListstring[]

The alert channels for the rule to use.

Example request

{
  "filters": {
    "enabled": 1
  }
}

Response

No Error

Example response

{
  "data": {
    "filters": {
      "enabled": 1
    }
  }
}