---
title: "Create Data Export Rules"
method: POST
path: "/api/v2/DataExportRules"
tags: ["DataExportRules"]
---

# Create Data Export Rules

`POST /api/v2/DataExportRules`

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

`POST https://YourAccount.lacework.net/api/v2/DataExportRules`

## 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 `201`

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/revisions/7015f76895f2/schema)
