Hi guys! What’s the easiest way of deleting domain...
# troubleshoot
c
Hi guys! What’s the easiest way of deleting domains from multiple datasets?
✅ 1
b
hey Hugo! yeah great question - this should be pretty easy through the UI - let me lay out a few steps for you 🙂
1. head to the page of your domain and make sure you're on the Entity tab. find the 3 dot menu on the right and click "edit"
2. select the entities that you want to remove the domain in question from 3. click the domain dropdown and click "Unset domain" 4. refresh to see your updates
you can do the same thing from the search page too in case you want to remove multiple different domains from different assets!
or if you have a list of urns you want to remove domains from, you can also always use our graphql API and call the
batchSetDomain
endpoint with the domain urn as `null`(which will remove domains) - https://datahubproject.io/docs/graphql/mutations/#batchsetdomain
c
Thanks @bulky-soccer-26729! Since I want to do this for multiple domains I suppose use batchSetDomain will be the most appropriate!