File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/content/partials/workers/wrangler-commands Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -497,14 +497,20 @@ This command requires `--binding` or `--namespace-id`.
497497
498498< Render file=" wrangler-commands/global-flags" product=" workers" />
499499
500- This command takes a JSON file as an argument containing an array of keys to delete.
500+ This command takes a JSON file as an argument containing the keys to delete.
501501
502502The following is an example of the JSON input:
503503
504504` ` ` json
505505[" test_key_1" , " test_key_2" ]
506506` ` `
507507
508+ The command also accepts keys in the format output from ` wrangler kv key list` :
509+
510+ ` ` ` json
511+ [{ " name" : " test_key_1" }, { " name" : " test_key_2" }]
512+ ` ` `
513+
508514The following is an example of deleting all the keys found in the ` allthethingsdelete.json` file.
509515
510516` ` ` sh
You can’t perform that action at this time.
0 commit comments