GeoServer API : Remove data files when removing stores - Stack Overflow

admin2025-05-02  1

I'd just like a confirmation.

If I wanted to remove data files when a store is removed then I'd have to

  1. get store details via GET
  2. retrieve the entry under connectionParameters.entry for which '@key' equals url (e.g. file:/usr/share/geoserver/data_dir/data/my/store/
  3. perform a DELETE operation on resource end point using previous data/my/store/.

Is that correct?

Thanks!

转载请注明原文地址:http://www.anycun.com/QandA/1746123828a92004.html