---
title: fastly kv-store-entry delete
summary: Delete a key
url: https://www.fastly.com/documentation/reference/cli/kv-store-entry/delete
---

Delete a key

## Flags

| Flag | Description | Required | Default |
|------|-------------|----------|----------|
| `--store-id` | Store ID | Yes | - |
| `--all` | Delete all entries within the store | No | - |
| `--concurrency` | The thread pool size (ignored when set without the --all flag) | No | 100 |
| `--force` | Return a successful result from a 'delete' operation even if the specified key was not found | No | - |
| `--if-generation-match` | Value which must match the current generation marker in an item for a delete operation to proceed | No | - |
| `--json` | Render output as JSON | No | - |
| `--key` | Key name | No | - |
| `--max-errors` | The number of errors to accept before stopping (ignored when set without the --all flag) | No | 100 |

## Global options

| Flag | Description | Required | Default |
|------|-------------|----------|----------|
| `--help` | Show context-sensitive help. | No | - |
| `--accept-defaults` | Accept default options for all interactive prompts apart from Yes/No confirmations | No | - |
| `--auto-yes` | Answer yes automatically to all Yes/No confirmations. This may suppress security warnings | No | - |
| `--debug-mode` | Print API request and response details (NOTE: can disrupt the normal CLI flow output formatting) | No | - |
| `--non-interactive` | Do not prompt for user input - suitable for CI processes. Equivalent to --accept-defaults and --auto-yes | No | - |
| `--quiet` | Silence all output except direct command output. This won't prevent interactive prompts (see: --accept-defaults, --auto-yes, --non-interactive) | No | - |
| `--token` | Fastly API token, or name of a stored auth token (use 'default' for the default token). Falls back to FASTLY_API_TOKEN env var | No | - |
| `--verbose` | Verbose logging | No | - |

