---
name: "Catmandu::Cmd::delete"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Cmd::delete"
---

# Catmandu::Cmd::delete(3pm)

delete items from a store

## NAME

Catmandu::Cmd::delete - delete items from a store

## EXAMPLES

```
  catmandu delete <STORE> <OPTIONS>

  # delete items with matching _id
  catmandu delete ElasticSearch --index-name items --bag book \
                                --id 1234 --id 2345
  # delete items matching the query
  catmandu delete ElasticSearch --index-name items --bag book \
                                --query 'title:"My Rabbit"'
  # delete all items
  catmandu delete ElasticSearch --index-name items --bag book
  catmandu help store ElasticSearch
```
