PUT /v1/dataProducts/{id}/assets/add
Ports & Assets
Manage input ports, output ports, and assets for a data product
PUT
PUT /v1/dataProducts/{id}/assets/add
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Ports & Assets
Manage the input ports, output ports, and associated assets of a data product. These endpoints allow you to add or remove data assets from a data product without replacing the entire entity.Add Assets
UsePUT /v1/dataProducts/{id}/assets/add to add assets to a data product.
UUID of the data product.
Array of entity references to add as assets.
Remove Assets
UsePUT /v1/dataProducts/{id}/assets/remove to remove assets from a data product.
UUID of the data product.
Array of entity references to remove.
PUT /v1/dataProducts/{id}/assets/add
Returns
Returns the updated data product object with the new version number reflecting the asset changes.Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or asset references |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to modify this data product |
404 | NOT_FOUND | Data product or referenced asset does not exist |