0

I have to delete a workspace containing 150.000 layers. For 2 days ago I executed: curl -v -u admin:password -XDELETE http://localhost:8080/geoserver/rest/workspaces/myworkspace?recurse=true And it is still "in progress"

Is there a more efficient way to delete huge workspaces, perhaps by deleting files?

1
  • No, GeoServer has to look up which layers and groups are related to any of the items in the workspace and make sure to tidy up any references there is no quick clean way to do it.
    – Ian Turton
    Nov 16 '21 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.