ETCD(1)

NAME:
   etcdctl rm - remove a key or a directory

USAGE:
   etcdctl rm [command options] <key>

OPTIONS:
   --dir
      removes the key if it is an empty directory or a key-value pair
   --recursive, -r
      removes the key and all child keys(if it is a directory)
   --with-value value
      previous value
   --with-index value
      previous index (default: 0)