Forum Discussion

anandglucid's avatar
anandglucid
Copper Contributor
Oct 20, 2021
Solved

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...
  • anandglucid's avatar
    Oct 21, 2021

    anandglucid 

    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:

     

Resources