Deleting Owners from PowerBI Dashboards using CLI Command

Original Slack Thread

Hello, is it possible to delete all owners from all powerbi dashboards with a single CLI command?

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Which DataHub version are you using? (e.g. 0.12.0)
  2. Please post any relevant error logs on the thread!

current version 0.11.0

You may check docs here https://datahubproject.io/docs/0.11.0/how/delete-metadata
And you can also check datahub delete --help in case something is missing in the docs

Have you tried something like this?
datahub delete --platform powerbi --entity-type dashboard --aspect ownership

Thank you for your reply.

The above didn’t work for me, so decided to perform a hard delete on the workspace and re ingest it.

However, this is not a great solution once we start adding more metadata.

I will try to explore your proposal and see if i can make it work.