Commit dbdb6c06 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix es delete request.

parent 31bfd2e6
......@@ -15,4 +15,4 @@ curl -u"fedoraAdmin:$FEDORA_PASSWORD" -XDELETE http://localhost:8080/frcrep/rest
# Only delete this if you wish to free up the slot or do not want to keep a log of the deletion.
#curl -u"fedoraAdmin:$FEDORA_PASSWORD" -XDELETE http://localhost:8080/frcrep/rest/institution/$INSTITUTION_ID/fcr:tombstone
curl -XDELETE "localhost:8081/$INSTITUTION_INDEX/$INSTITUTION_ID"
\ No newline at end of file
curl -XDELETE "localhost:8081/$INSTITUTION_INDEX/_doc/$INSTITUTION_ID"
\ No newline at end of file
......@@ -14,4 +14,4 @@ curl -u"fedoraAdmin:$PASSWORD" -XDELETE http://localhost:8080/frcrep/rest/record
# Only delete this if you wish to free up the slot or do not want to keep a log of the deletion.
#curl -u"fedoraAdmin:$PASSWORD" -XDELETE http://localhost:8080/frcrep/rest/recordSet/RECORD_SET_ID/fcr:tombstone
curl -XDELETE "localhost:8081/$RECORD_SET_INDEX/$RECORD_SET_ID"
\ No newline at end of file
curl -XDELETE "localhost:8081/$RECORD_SET_INDEX/_doc/$RECORD_SET_ID"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment