I was able to delete via the curl -X POST '<http:/...
# troubleshoot
r
I was able to delete via the curl -X POST 'http://localhost:8080/entities?action=delete' and passing in the token in the header but I only knew how to to single datasets that way and looking for how to delete all for an env or platform
b
hey Jeremiah! could you use the datahub CLI instead of just a curl? if so, I think this section in our docs will be of help to you https://datahubproject.io/docs/how/delete-metadata/#delete-using-broader-filters
you can delete all entities of a certain type, from a certain platform, in a certain env, for example
r
yes I'd like to do that, but it doesn't not work with metadata authentication turned on
b
have you tried setting the token as an env variable when running the cli command?
export DATAHUB_GMS_TOKEN=<your_token>
then try the CLI commands
r
oh great to know
that worked; thanks
b
great - no problem!