# Delete Rows

**Description**: The **DeleteRows** component removes specific rows from a CSV file based on a defined filter.

### Input Parameters

| Parameter     | Type      | Required | Description                                                                                                 |
| ------------- | --------- | -------- | ----------------------------------------------------------------------------------------------------------- |
| `withHeaders` | `boolean` | ✅        | Set to `true` if the first row represents column names (CSV header) and should be used to identify columns. |

### Output Parameters

| Parameter | Type     | Description                       |
| --------- | -------- | --------------------------------- |
| `fileId`  | `string` | The ID of the processed CSV file. |

### Instructions

1. **Use Column Names (Optional)**:
   * If the first row of the CSV file contains column names, enable the **Use Column Names** toggle.
   * Otherwise, columns will be identified by their index.
2. **Processing**:
   * The component scans the CSV file for rows that match the given filter.
   * Any matching rows are removed, and a new CSV file is generated.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmixer.com/connector-configuration/utils/csv/deleterows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
