Thank you! Deleting the featureType allowed me to create again ok.
From: Andrea Aime
Sent: Tuesday, April 2, 2024 8:47 PM
To: Phil Scadden
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Problems recreating a layer after a deletion
CAUTION: This email originated from
Gut feeling, you might be ignoring the relationship between featuretype and
layer. While they are separate resources,
you have to delete both of them when performing a remove.
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services-us for more
I created a layer from a datastore with:
curl -u user:passwd -X POST -H "Content-type: text/xml" -d
"MylayermylayerMy
Layer
wks:myStyleEPSG:2193"
https://myserver/rest/workspaces/wks/datastores/wks-zl/featuretypes
However, the structure in the postgis datastore so I deleted with:
curl -u