Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 1.4 KB

putCategory.md

File metadata and controls

57 lines (49 loc) · 1.4 KB

pv glossary putCategory

Command Reference > glossary > putCategory

Description

Update the given glossary category by its GUID.

Syntax

pv glossary putCategory --categoryGuid=<val> --payloadFile=<val>

Required Arguments

--categoryGuid (string)
The globally unique identifier of the category.

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

Optional Arguments

None

API Mapping

Catalog Data Plane > Glossary > Update Glossary Category

PUT https://{accountName}.purview.azure.com/catalog/api/atlas/v2/glossary/category/{categoryGuid}

Examples

Update an existing category.

pv glossary putCategory --categoryGuid "c856ecef-21e6-4e92-8607-9493d8432e78" --payloadFile "/path/to/file.json"
Example payload.

{
    "anchor": {
        "glossaryGuid": "f2307f48-5834-4709-be85-02f3aea5d149"
    },
    "guid": "c856ecef-21e6-4e92-8607-9493d8432e78",
    "name": "MyCategory",
    "terms": [
        {
            "termGuid": "d99523b1-9b89-4748-8455-c00d76fd823a"
        },
        {
            "termGuid": "06276c6f-aab7-46f3-980c-e92ad541f333"
        },
        {
            "termGuid": "2796d276-75a0-46c0-9920-1d9e75c25842"
        }
    ]
}