> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# prj.asset.delete_data_asset

Delete a data asset and its metadata.

```python theme={null}
prj.asset.delete_data_asset(name)
```

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.

Parameter

Type

Description

`name`

str

Asset name/id

**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`](https://anaconda.com/docs/platform/guides/projects/utilities-api/cli/flowproject/teardown-branch).
