# Remove

### Parameters

| Key          | Type                     |
| ------------ | ------------------------ |
| **REQUIRED** |                          |
| collection   | String (Collection Name) |
| upload       | String (Upload Name)     |
| rows         | Array of data integers   |

### Example

The example below removes rows 1,2 & 5 from "Upload 1" in the collection "Collection 1"

{% hint style="warning" %}
Row "0" is reserved for headers and cannot be removed. If headers need to change it is recommend to use upload endpoint to create a fresh upload.
{% endhint %}

```
curl -X POST \
  v1/data/remove\
  -H 'Authorization: Basic <Your Base64 Encoded Token>'\
  -d '{
    "collection" : "My Collection",
    "upload"     : "Upload 1",
    "rows"       : [1,2,5]
}'
```

### Success Response

The response return number of deletes and rows that were removed. If the row number does not exist the row is ignored.

```
{
    "status": "success",
    "data": {
        "deletes": 3,
        "removed": [
            "1",
            "2",
            "5"
        ],
        "warnings": 0,
        "messages": []
    },
    "hash": "376e9a516439c0a7b420612180b1d602",
    "response_time": 0.13455486297607422
}
```


---

# 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://everyday-digital.gitbook.io/falkor-dev-docs/data/remove-1.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.
