Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello all,
I'm working with an embedded report using the various REST API's provided by Power BI. Embedding, showing the report, updating, everything works except for deleting the data.
I can delete data when I use the API on the Power BI website (https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_deleterowsingroup). But whenever I try to call this API from my Postman I get a 401 error. This error is very strange to me as I am capable of using the same bearer token provided by my account + oauth2/token to get all report in a group as well as get an embed token for a report.
Could anyone help me as to why I can't call this delete method in my Postman but I can when using the website mentioned above?
My postma is as follows:
https://api.powerbi.com/v1.0/myorg/groups/{group-id}/datasets/{dataset-id}/tables/{table-name}/rows
with a header, key = Authorization, value = Bearer ey......
Hi, @justmeakinna
According to your description and the link you posted, it seems like the API you used can only work for push datasets:
You can try to follow this document to delete datasets in group using rest api:
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/deletedatasetingroup
Here are some links related to the problem you encountered, you can also take a look:
https://community.powerbi.com/t5/Developer/401-when-accessing-any-Power-BI-API-endpoints/m-p/335613
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
20 | |
18 | |
15 | |
13 |
User | Count |
---|---|
37 | |
23 | |
21 | |
18 | |
12 |