Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.16 KB

putClassifications.md

File metadata and controls

48 lines (39 loc) · 1.16 KB

pv entity putClassifications

Command Reference > entity > putClassifications

Description

Update classifications to an existing entity represented by a guid.

Syntax

pv entity putClassifications --guid=<val> --payloadFile=<val>

Required Arguments

--guid (string)
The globally unique identifier of the entity.

--payloadFile (string)
File path to a valid JSON document.

Optional Arguments

None

API Mapping

Catalog Data Plane > Entity > Update Classifications

PUT https://{accountName}.purview.azure.com/catalog/api/atlas/v2/entity/guid/{guid}/classifications

Examples

Update existing classifications to an existing entity via the entity GUID.

pv entity putClassifications --guid "bbb9ff1d-f880-435e-ac87-d6fd5676d8f0" --payloadFile "/path/to/file.json"
Example payload.

[

    {
        "typeName": "MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER",
        "attributes": {
            "confidence": 2
        }
    }
]