diff --git a/specification/purview/data-plane/datamap/examples/2023-09-01/Entity_RemoveClassification.json b/specification/purview/data-plane/datamap/examples/2023-09-01/Entity_RemoveClassification.json index 408744950b01..7616dfad1b0b 100644 --- a/specification/purview/data-plane/datamap/examples/2023-09-01/Entity_RemoveClassification.json +++ b/specification/purview/data-plane/datamap/examples/2023-09-01/Entity_RemoveClassification.json @@ -2,7 +2,8 @@ "parameters": { "Endpoint": "{Endpoint}", "guid": "cc0730ba-9b30-41f0-6953-559d17626d2b", - "classificationName": "MICROSOFT.FINANCIAL.US.ABA_ROUTING_NUMBER" + "classificationName": "MICROSOFT.FINANCIAL.US.ABA_ROUTING_NUMBER", + "suppressDeletedClassification": true }, "responses": { "204": {} diff --git a/specification/purview/data-plane/datamap/routes.tsp b/specification/purview/data-plane/datamap/routes.tsp index cc25f0e4b7c4..ae437811403a 100644 --- a/specification/purview/data-plane/datamap/routes.tsp +++ b/specification/purview/data-plane/datamap/routes.tsp @@ -308,6 +308,10 @@ interface Entity { @doc("The name of the classification.") @path classificationName: string; + + @doc("To prevent classification changes from being overridden during regular scans, set this parameter to true. The default value is false.") + @query + suppressDeletedClassification?: boolean; }, void, {} diff --git a/specification/purview/data-plane/datamap/stable/2023-09-01/examples/Entity_RemoveClassification.json b/specification/purview/data-plane/datamap/stable/2023-09-01/examples/Entity_RemoveClassification.json index 408744950b01..7616dfad1b0b 100644 --- a/specification/purview/data-plane/datamap/stable/2023-09-01/examples/Entity_RemoveClassification.json +++ b/specification/purview/data-plane/datamap/stable/2023-09-01/examples/Entity_RemoveClassification.json @@ -2,7 +2,8 @@ "parameters": { "Endpoint": "{Endpoint}", "guid": "cc0730ba-9b30-41f0-6953-559d17626d2b", - "classificationName": "MICROSOFT.FINANCIAL.US.ABA_ROUTING_NUMBER" + "classificationName": "MICROSOFT.FINANCIAL.US.ABA_ROUTING_NUMBER", + "suppressDeletedClassification": true }, "responses": { "204": {} diff --git a/specification/purview/data-plane/datamap/stable/2023-09-01/purviewdatamap.json b/specification/purview/data-plane/datamap/stable/2023-09-01/purviewdatamap.json index 2fee76610366..f051dad63e1a 100644 --- a/specification/purview/data-plane/datamap/stable/2023-09-01/purviewdatamap.json +++ b/specification/purview/data-plane/datamap/stable/2023-09-01/purviewdatamap.json @@ -873,6 +873,13 @@ "description": "The name of the classification.", "required": true, "type": "string" + }, + { + "name": "suppressDeletedClassification", + "in": "query", + "description": "To prevent classification changes from being overridden during regular scans, set this parameter to true. The default value is false.", + "required": false, + "type": "boolean" } ], "responses": {