array When provided, indicates the name of the root (or parent) tag that the child tag will fall under. If a child tag is added, the deleteHierarchy value will be true.
No
Response parameters
Attribute
Description
id
integer The tag ID.
color
string An uneditable tag field.
description
string An uneditable tag field that appears as a tag description in the UI. Built-in tags come with descriptions pre-populated.
name
string The tag name.
source
string The system the tag was created by. When curated, the tag was created in Immuta.
Add tags to a particular model. No tags will be processed if any invalid tags are found in the payload.
Query parameters
Attribute
Description
Required
modelType
string The Immuta component to add the tag to: datasource, column, or project.
Yes
modelId
string The ID of the column, data source, or project. Note: The modelId for a column is the data source ID followed by _OBJECTID (For example, 49_OBJECTID).
Yes
Payload parameters
No tags will be processed if any invalid tags are found in the payload.
Attribute
Description
Required
name
string The name of the tag.
Yes
id
integer The tag ID.
No
displayName
string The tag's name that is displayed in the console.
No
source
string The name of the system that created the tag. When curated, the tag was created in Immuta.
No
systemCreated
boolean When true, the tag was created by Immuta.
No
addedBy
integer The profile ID of the user who added the tag to the data source, column, or project.
No
deleted
boolean When true, the tag has been deleted.
No
hasLeafNodes
boolean When true, parent tags exist within the tag hierarchy that have no child tags.
No
createdBy
integer The profile ID of the user who created the tag.
No
createdAt
date When the tag was created.
No
updatedAt
date When the tag was last updated.
No
Response parameters
Attribute
Description
name
string The name of the tag.
source
string The system the tag was created by. When curated, the tag was created in Immuta.
addedBy
integer The profile ID of the user who added the tag.
deleted
boolean When true, the tag has been deleted.
Add tags to a data source
Request example
The following request adds tags to the data source with the data source ID 22.
string The ID of the column, data source, or project. Note: The modelId for a column is the data source ID followed by _OBJECTID (For example, 49_OBJECTID).