hii

I tried this and I am able to delete the layer using the first command.
curl -u admin:password -v -XDELETE
http://<IP>:<PORT>/geoserver/rest/layers/<LayerName>

but when I try to delete the layer and datastore using the following two
commands I am getting the exception

*The remote server returned an error: (403) Forbidden.*

curl -u admin:password -v -XDELETE
http://<IP>:<PORT>/geoserver/rest/workspaces/<workspace>/coveragestores/<LayerName>/coverages/<LayerName>
curl -u admin:password -v -XDELETE
http://<IP>:<PORT>/geoserver/rest/workspaces/<workspace>/coveragestores/<LayerName>


I can delete the layer using first command but how to delete the datastore.


Any help..

Regards
Pankaj



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Delete-Layer-Using-cURL-tp3795992p5092243.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to