Command Reference > entity > addLabelsByUniqueAttribute
Append labels to an entity identified by its type and unique attributes.
pv entity addLabelsByUniqueAttribute --typeName=<val> --qualifiedName=<val> --payloadFile=<val>
--typeName
(string)
The name of the type.
--qualifiedName
(string)
The qualified name of the entity.
--payloadFile
(string)
File path to a valid JSON document.
None
Catalog Data Plane > Entity > Add given labels to a given entity identified by its type and unique attributes.
PUT https://{accountName}.purview.azure.com/catalog/api/atlas/v2/entity/uniqueAttribute/type/{typeName}/labels
Append labels to an existing entity identified by its type and unique attributes.
pv entity addLabelsByUniqueAttribute --typeName "azure_datalake_gen2_resource_set" --qualifiedName "https://STORAGE_ACCOUNT.dfs.core.windows.net/bing/data/{N}/QueriesByCountry_{Year}-{Month}-{Day}_{N}-{N}-{N}.tsv" --payloadFile "/path/to/file.json"
Example payload.
[
"a",
"b",
"c"
]