So, it appears that I can rename a store name (both DataStores and CoverageStores) from the WebUI (v2.13.2 and 2.15.2) but I cannot do it via the REST API.
It returns a 403 error when I do this: curl -v -u admin:password -XPUT -H "Content-type: application/xml" -d "my_new_store" http://geoserver:8080/geoserver/rest/workspaces/my_workspace/datastores/mystore.xml
As this (https://docs.geoserver.org/stable/en/user/rest/api/datastores.html) states, you cant do a rename: PUT that changes name of data store returns 403.
So, how is the WebUI doing it? Is there any way, I can use that functionality.
And, the same question applies to renaming workspace as well. Works in WebUI. Returns 403 in REST API.