---
title: "slack datastore bulk-delete"
summary: "Delete multiple items from a datastore"
url: "https://docs.slack.dev/tools/slack-cli/reference/commands/slack_datastore_bulk-delete"
type: "guide"
---

Source: https://docs.slack.dev/tools/slack-cli/reference/commands/slack_datastore_bulk-delete

# slack datastore bulk-delete

Delete multiple items from a datastore

## Description {#description}

Delete multiple items from a datastore.

This command is supported for apps deployed to Slack managed infrastructure but other apps can attempt to run the command with the --force flag.

```
slack datastore bulk-delete <expression> [flags]
```

## Flags {#flags}

```
      --datastore string   the datastore used to store items
  -h, --help               help for bulk-delete
      --show               only construct a JSON expression
      --unstable           kick the tires of experimental features
```

## Global flags {#global-flags}

```
      --accessible           use accessible prompts for screen readers
  -a, --app string           use a specific app ID or environment
      --config-dir string    use a custom path for system config directory
  -e, --experiment strings   use the experiment(s) in the command
  -f, --force                ignore warnings and continue executing command
      --no-color             remove styles and formatting from outputs
  -s, --skip-update          skip checking for latest version of CLI
  -w, --team string          select workspace or organization by team name or ID
      --token string         set the access token associated with a team
                               (use - to read from standard input)
  -v, --verbose              print debug logging and additional info
```

## Examples {#examples}

```
# Delete two items from the datastore
$ slack datastore bulk-delete --datastore tasks '{"ids": ["12", "42"]}'

# Delete two items from the datastore with an expression
$ slack datastore bulk-delete '{"datastore": "tasks", "ids": ["12", "42"]}'
```

## See also {#see-also}

*   [slack datastore](https://docs.slack.dev/tools/slack-cli/reference/commands/slack_datastore.md) - Interact with an app's datastore
