---
title: "Update Data Export Rules"
method: PUT
path: "/api/v2/DataExportRules/{mcGuid}"
tags: ["DataExportRules"]
---

# Update Data Export Rules

`PUT /api/v2/DataExportRules/{mcGuid}`

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

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

  In the request body, specify the entire object that you want to update, for example,

 > `{"mcGuid": "string", "filters": {"name": "string", "description": "string", "enabled": 1, "profileVersions": ["V1"]}, "intgGuidList": ["string"], "type": "Dataexport"}`.

## Path parameters

- `mcGuid` string, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required
- `Org-Access` boolean
- `Account-Name` string

## Request body

- DataExportRulesCreateSchema
  - `filters` object, required — When sending a request, use this object to define the new data export rule. When included in a response, this object contains details of a data export rule. <br /> You can use these attributes when searching for existing data export rules by invoking a POST request.
    - `name` string, required — The data export rule's name.
    - `description` string — Summary of the data export rule.
    - `enabled` unknown, required
    - `profileVersions` string[] — A list of profile versions.
  - `intgGuidList` string[], required — The alert channels for the rule to use.
  - `type` 'Dataexport', required — The data export rule's type such as `Dataexport`.

## Response `200`

No Error

- object
  - `data` DataExportRulesResponseSchema
    - `filters` object, required — When sending a request, use this object to define the new data export rule. When included in a response, this object contains details of a data export rule. <br /> You can use these attributes when searching for existing data export rules by invoking a POST request.
      - `name` string, required — The data export rule's name.
      - `description` string — Summary of the data export rule.
      - `enabled` unknown, required
      - `profileVersions` string[] — A list of profile versions.
    - `intgGuidList` string[], required — The alert channels for the rule to use.
    - `type` 'Dataexport', required — The data export rule's type such as `Dataexport`.
    - `mcGuid` string — Data Export Rule ID

## Other responses

- `4XX` — Client Error
- `5XX` — Internal Server Error

---

[API](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation.md) · [All operations](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lacework/forticnapp-api-2-0-documentation/versions/7015f76895f2/schema)
