Skip to content

Commit d4113d8

Browse files
authored
Update how-to-manage-users.md
1 parent 7bb326a commit d4113d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/energy-data-services/how-to-manage-users.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The object ID (OID) is the Microsoft Entra user OID.
5050
Run the following curl command in Azure Cloud Shell to get all the groups that are available for you or that you have access to in the specific data partition of the Azure Data Manager for Energy instance.
5151

5252
```bash
53-
curl --location --request GET "https://<URI>/api/entitlements/v2/groups/" \
53+
curl --location --request GET "https://<adme-url>/api/entitlements/v2/groups/" \
5454
--header 'data-partition-id: <data-partition>' \
5555
--header 'Authorization: Bearer <access_token>'
5656
```
@@ -61,7 +61,7 @@ Run the following curl command in Azure Cloud Shell to get all the groups that a
6161
1. The value to be sent for the parameter `email` is the OID of the user and not the user's email address.
6262

6363
```bash
64-
curl --location --request POST 'https://<URI>/api/entitlements/v2/groups/<group-name>@<data-partition-id>.dataservices.energy/members' \
64+
curl --location --request POST 'https://<adme-url>/api/entitlements/v2/groups/<group-name>@<data-partition-id>.dataservices.energy/members' \
6565
--header 'data-partition-id: <data-partition-id>' \
6666
--header 'Authorization: Bearer <access_token>' \
6767
--header 'Content-Type: application/json' \
@@ -118,7 +118,7 @@ Run the following curl command in Azure Cloud Shell to get all the groups that a
118118
1. Run the following curl command in Azure Cloud Shell to get all the groups associated with the user.
119119

120120
```bash
121-
curl --location --request GET 'https://<URI>/api/entitlements/v2/members/<OBJECT_ID>/groups?type=none' \
121+
curl --location --request GET 'https://<adme-url>/api/entitlements/v2/members/<OBJECT_ID>/groups?type=none' \
122122
--header 'data-partition-id: <data-partition-id>' \
123123
--header 'Authorization: Bearer <access_token>'
124124
```
@@ -160,7 +160,7 @@ Run the following curl command in Azure Cloud Shell to get all the groups that a
160160
1. *Do not* delete the OWNER of a group unless you have another OWNER who can manage users in that group.
161161

162162
```bash
163-
curl --location --request DELETE 'https://<URI>/api/entitlements/v2/members/<OBJECT_ID>' \
163+
curl --location --request DELETE 'https://<adme-url>/api/entitlements/v2/members/<OBJECT_ID>' \
164164
--header 'data-partition-id: <data-partition-id>' \
165165
--header 'Authorization: Bearer <access_token>'
166166
```

0 commit comments

Comments
 (0)