Conceptually you should be removing the data store, not just unpublishing the layer.
However from https://github.com/geoserver/geoserver/blob/master/src/restconfig/src/main/j ava/org/geoserver/rest/catalog/DataStoreController.java#L217 it looks like the purge (deleteType) option didn't actually get implemented. Brad _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users