Skip to content

Files

Latest commit

a91b015 · Aug 9, 2022

History

History
This branch is up to date with K-Borchert/Postman-Power-BI-REST-API:main.

POST request

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 7, 2022
Aug 9, 2022

POST requests



In this section we will learn how to use a POST request and for what you can use a POST request.
⚠️ For this request you need to be Power BI Admin or Global Admin! (If you need this permission, check the "Tips" folder)

How to?

Description Screenshot
As before you have two possibilities to do this:
1. Download File and Import as File
2. Copy code and fill it into RAW Text
image
In both cases you have to approve the Import image
After you imported the file you get a new Collection on the left site image
Now you can add the {{TOKEN}} variable to the authorization section (see "Using variables") image
Next go to the body section and put in the Permission (Admin, Contributor, Member, Viewer)
and the EMail adress of the new User
image
At last fill out the WorkspaceID you want to put in the new user in the request line above the body image
Now you can check If you request works.
Before you send the request refresh your Token!
If your request is successful the user will appear in the Workspace you choose.
You can check it directly in Power BI Service or send another request to pull all users in the Workspace
image

image