etcd-io / etcd

Distributed reliable key-value store for the most critical data of a distributed system
https://etcd.io
Apache License 2.0
47.5k stars 9.74k forks source link

Want to delete a key by ETCD API v3.4 #18518

Closed Tridu33 closed 3 weeks ago

Tridu33 commented 1 month ago

What would you like to be added?

can not find "How to delete a key by ETCD API v3.4" in https://etcd.io/docs/v3.1/learning/api/ .

Why is this needed?

need delete key by API but not ./etcdctl del balabala

ivanvc commented 3 weeks ago

Hi @Tridu33, please refer to v3.4 documentation: https://etcd.io/docs/v3.6/learning/api/#delete-range