Fedora tips - UW-Libraries/druw GitHub Wiki

To delete a Fedora container: curl -X DELETE "http://localhost:8080/fedora/rest/prod"

To remove the subsequent tombstone: curl -X DELETE "http://localhost:8080/fedora/rest/prod/fcr:tombstone"

  • Executing the above on a container that has not been deleted will delete it, but a tombstone will still be left behind. In such a case, you have to execute the command a second time to remove the tombstone.

To create a new node with the old URL: curl -X PUT "http://localhost:8080/fedora/rest/prod"

The above are all from the DuraSpace Wiki

⚠️ **GitHub.com Fallback** ⚠️