Forum Discussion
anandglucid
Oct 20, 2021Copper Contributor
Identifying Sensitivity labels using Purview APIs
Appreciate any inputs on the below: 1. I created a sensitivity label in the MS Compliance center following steps in https://docs.microsoft.com/en-us/azure/purview/how-to-automatically-label-your-con...
- Oct 21, 2021
I figured out a way to get the sensitivity label name. What was displayed as part of the GET Entity by Guid response was its name 'Microsoft.Label.B3DB3A6A_84EB_4D67_8965_D8D21FD38F1B'. The display name for it can be got by using the GET {Endpoint}/catalog/api/atlas/v2/types/classificationdef/name/{name} endpoint. I get the below response:
anandglucid
Oct 21, 2021Copper Contributor
I figured out a way to get the sensitivity label name. What was displayed as part of the GET Entity by Guid response was its name 'Microsoft.Label.B3DB3A6A_84EB_4D67_8965_D8D21FD38F1B'. The display name for it can be got by using the GET {Endpoint}/catalog/api/atlas/v2/types/classificationdef/name/{name} endpoint. I get the below response: