Command Reference > types > putTypeDefs
Update all types in bulk, changes detected in the type definitions would be persisted.
pv types putTypeDefs --payloadFile=<val>
--payloadFile
(string)
File path to a valid JSON document.
None
Catalog Data Plane > Types > Update Atlas Type Definitions
PUT https://{accountName}.purview.azure.com/catalog/api/atlas/v2/types/typedefs
Update type definitions in bulk.
pv types putTypeDefs --payloadFile "/path/to/file.json"
Example payload.
{
"classificationDefs": [
{
"category": "CLASSIFICATION",
"name": "CUSTOM.PII.PATIENT.IDENTITY.CARD",
"description": "Positively identifying patients ensures intended patient receives the intended care.",
"options": {
"displayName": "Patient Identity Card Number"
}
},
{
"category": "CLASSIFICATION",
"name": "CUSTOM.PII.PATIENT.POLICY.NUMBER",
"description": "The number of the insurance policy as assigned by the Insurer.",
"options": {
"displayName": "Patient Policy Number"
}
}
],
"entityDefs": [],
"enumDefs": [],
"relationshipDefs": [],
"structDefs": []
}