> For the complete documentation index, see [llms.txt](https://docs.mindplug.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mindplug.io/api/delete-by-ids.md).

# Delete By Ids

### Prerequisites

Requires a user auth token. See the [API Auth](/api/api-setup-text.md) section.

### Deleting Data

Deletes all vectors associated with provided vector Ids.

{% code overflow="wrap" lineNumbers="true" %}

```javascript
import mindplug from "@/src/mindplugAPI"; // base instance

mindplug.post("/data/delete", {
    "db": "walmart",
    "collection": "OfficeSupplies",
    "vectorIds": ["8ad610a8-9dc8-4e3c-bae4-0e10146fd43a"]
});
```

{% endcode %}

*Once the data is deleted, there is no way for Mindplug to restore the deleted data.*

### Sample Response

```json
{
    success: "true"
}
```
