forked from K-Borchert/Postman-Power-BI-REST-API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAdd new User to Workspace
54 lines (54 loc) · 1.12 KB
/
Add new User to Workspace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"info": {
"_postman_id": "4e847e45-7a75-4b34-b0ab-97a204e15b62",
"name": "Add new User with permission to Workspace",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "17025063"
},
"item": [
{
"name": "https://api.powerbi.com/v1.0/myorg/admin/groups/<WorkspaceID>/users",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{TOKEN}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"AppID\": \"<WorkspaceID\",\r\n \"groupUserAccessRight>\": \"<Workspace-Rigth>\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://api.powerbi.com/v1.0/myorg/<Workspace-Rigth>/groups/<WorkspaceID>/users",
"protocol": "https",
"host": [
"api",
"powerbi",
"com"
],
"path": [
"v1.0",
"myorg",
"<Workspace-Rigth>",
"groups",
"<WorkspaceID>",
"users"
]
}
},
"response": []
}
]
}