Forum Discussion
REST API Sensitivity Labels
- Anonymous3 years ago
Hi powercdc,
I check the rest API document but not found the get sensitive label API, it seems existed API to set or remove specific label.
Set or remove sensitivity labels programmatically with admin APIs - Power BI | Microsoft Learn
In addition, the document also mentions these sensitive label operations seems will be records in the audit logs. For this situation, perhaps you can try to use activity log related API to indirectly get these labels.
Sensitivity label audit schema - Power BI | Microsoft Learn
Track user activities in Power BI - Power BI | Microsoft Learn
Regards,
Xiaoxin Sheng
Hi powercdc,
I check the rest API document but not found the get sensitive label API, it seems existed API to set or remove specific label.
Set or remove sensitivity labels programmatically with admin APIs - Power BI | Microsoft Learn
In addition, the document also mentions these sensitive label operations seems will be records in the audit logs. For this situation, perhaps you can try to use activity log related API to indirectly get these labels.
Sensitivity label audit schema - Power BI | Microsoft Learn
Track user activities in Power BI - Power BI | Microsoft Learn
Regards,
Xiaoxin Sheng