Skip to main content
Delete a data asset and its metadata.
Hard delete a data asset and every instance attached to its name. Use this to prune orphan IDs left in the catalog after a rename. The call also removes the asset from the project’s flowproject metadata so the UI Overview reflects the change. Idempotent: re-deleting a name that’s already gone is a no-op. Returns: DeleteResult(catalog_deleted: bool, metadata_updated: bool)—catalog_deleted is False when the name was already absent from the catalog; metadata_updated is False when the name wasn’t in the spec (or no flowproject metadata exists yet). Raises RuntimeError on read-only clients or when the metadata sync fails after a successful catalog DELETE (the error message names both halves). The catalog has no soft-delete state—deletion removes every instance, alias, and lineage edge for the asset name. To remove an entire branch’s metadata at once, use outerbounds flowproject teardown-branch.