Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 1.09 KB

createCategories.md

File metadata and controls

50 lines (43 loc) · 1.09 KB

pv glossary createCategories

Command Reference > glossary > createCategories

Description

Create glossary category in bulk.

Syntax

pv glossary createCategories --payloadFile=<val>

Required Arguments

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

Optional Arguments

None

API Mapping

Catalog Data Plane > Glossary > Create Glossary Categories

POST https://{accountName}.purview.azure.com/catalog/api/atlas/v2/glossary/categories

Examples

Create categories in bulk.

pv glossary createCategories --payloadFile "/path/to/file.json"
Example payload.

[
    {
        "anchor": {
            "glossaryGuid": "f2307f48-5834-4709-be85-02f3aea5d149"
        },
        "name": "Category1"
    },
    {
        "anchor": {
            "glossaryGuid": "f2307f48-5834-4709-be85-02f3aea5d149"
        },
        "name": "Category2"
    }
]