Hi
Looking to delete an empty table in an unpublished database
Ingest: 11.1.2.3. Delete a database or a table - Data Management - Confluence (lsstcorp.org)
Suggest something along the lines of
curl http://localhost:8080/ingest/database/test101/Object
-X DELETE -H “Content-Type: application/json” -d ‘{“auth_key”:"###"}’
but this is returning 404 not found. So likely not getting the syntax right.
The REST services are running eg
curl http://localhost:8080/ingest/database/
=>
{“databases”:[{“family”:“layout_340_3”,“is_published”:0,“name”:“cosmoDC2_v1_1_4_image”},{“family”:“layout_340_3”,“is_published”:1,“name”:“dp01_dc2_catalogs”},{“family”:“layout_340_3”,“is_published”:0,“name”:“test101”}],“error”:"",“error_ext”:{},“success”:1}
Thanks
Mike