Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Jcorbalan
Regular Visitor

Remove labels api

Hello,

We have the same issue with labels as in this post: How to remove Sensitivity Label - What permission/... - Microsoft Fabric Community but we are not sure if we are using the API correctly (we get a response code 401) as seen here: Admin - InformationProtection RemoveLabelsAsAdmin - REST API (Power BI Power BI REST APIs) | Microso...

We have many questions about that:
- Is it just a try page or we can use it to remove our labels?

- If so, what is the url we need to use to use it?
- Do we need to fill the header and parameter fields or is it enought to use the body field with the type and id?
Thanks!!

 

2 REPLIES 2
Jcorbalan
Regular Visitor

Thanks for your answer. 

If I use postman, how can I find the address to connect to the API?

Regards

Anonymous
Not applicable

Hi  @Jcorbalan ,

 

According to your requirement description, this documentation page supports directly doing "Try it" to try this rest API, you can click here and follow the request header and body of the example below to mimic and place your own label to do these operations.

vyangliumsft_0-1713240169112.png

vyangliumsft_1-1713240169115.png

Regarding the permissions needed, if you are logged in with an AAD account, then your AAD account will need these permissions

  • The user must have administrator rights (such as Office 365 Global Administrator or Power BI Service Administrator).
  • The admin user must have sufficient usage rights to delete labels.

There is a corresponding description in this part of the document

vyangliumsft_2-1713240190200.png

Also, if you want to use these APIs more formally and execute them in bulk, you can use postman to test and execute them as a professional job.

Postman API Platform | Sign Up for Free

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.