Hello, I am trying to delete datahub dataset using...
# all-things-deployment
b
Hello, I am trying to delete datahub dataset using datahub delete --env PROD --entity_type dataset but when I run the command above and collect it again, the deleted data seems to keep coming out. Do you know what command or option to run to delete all data? And I don't know what a URI is, but what should I do to create a command with the hard option by writing a URI?
o
Hi! The URN is the identity of the dataset in question you want to delete. You can get the urn by clicking the copy button in the UI on the entity page. For a dataset it will look like urnlidataset:`(urnlidataPlatform:<PLATFORM-NAME>,<DATASET-NAME>,<FABRIC-TYPE>)` where in this case your
<FABRIC-TYPE>
will be
PROD
. For the hard-delete syntax please see: https://datahubproject.io/docs/how/delete-metadata/#delete-by-urn
b
@orange-night-91387 Thanks! Finally I deleted it!