Skip to main content
PATCH
PATCH /v1/dataProducts/{id}

Update a Data Product

Update a data product’s properties using JSON Patch. You can update by ID or by fully qualified name.

Update by ID

string
required
UUID of the data product to update.

Update by Name

Use PATCH /v1/dataProducts/name/{fqn} to update by fully qualified name.
string
required
Fully qualified name of the data product, for example CustomerInsights.

Body Parameters

Send a JSON Patch array of operations. Each operation targets a field path, such as /description. Only the fields you target are changed. You can patch the following fields:
string
Updated description in Markdown format.
string
Updated display name.
array
Updated list of owner references.
array
Updated list of expert references.
array
Classification tags or glossary terms applied to the data product. To add or remove a single tag, use the JSON Patch operations described in Add or Remove Tags.

Add or Remove Tags

Tags are an array on the data product, so you change them with JSON Patch operations against /tags.

Add a Tag

Use an add operation at /tags/0 with a full tag object. Include all four fields: tagFQN, source, labelType, and state.
To add a glossary term, set source to Glossary and tagFQN to the term’s fully qualified name.

Remove a Tag

A remove operation targets a position in the tags array, not a tag name. JSON Patch has no way to remove a tag by its tagFQN. To remove a tag:
  1. Retrieve the data product with its tags: GET /v1/dataProducts/name/{fqn}?fields=tags.
  2. Find the position (starting at 0) of the tag you want to remove in the returned tags array.
  3. Send a remove operation for that position.
Important: The position changes whenever tags are added or removed. Retrieve the tags immediately before you send the remove operation. A stale position removes a different tag.
Note: PUT can only add tags and never removes them. Use PATCH to remove a tag. For the full rules, see Entity Update Behavior.
PATCH /v1/dataProducts/{id}

Returns

Returns the updated data product object with the new version number.

Response

string
Unique identifier for the data product (UUID format).
string
Data product name.
string
Fully qualified name of the data product. This is the data product name.
string
Updated description.
number
Incremented version number.

Error Handling