capabilities.work

Decommission a Dataset

A 3-step recipe with DataHub. We can help you get access.

Recipe · 3 steps

Decommission a Dataset

with DataHub · Information & Data Management

Soft delete a dataset only when it has no downstream dependents.

  1. Retrieve the latest aspects for the dataset URN to confirm the entity exists before attempting to decommission it.
  2. Query the relationship graph for outgoing DownstreamOf edges to detect any datasets that depend on this one before deleting it.
  3. Soft delete the dataset, marking the entity as removed while preserving its metadata, since no downstream dependents were found.
What you'll need to have ready
  • token: DataHub personal access token passed as a Bearer token.
  • entityUrn: The dataset URN to decommission.
For your developer

Arazzo workflow datahub:decommission-dataset, 3 operations: getEntityLatestAspects → getRelationships → deleteEntities. Specs on APIs.io.