adding account

Hello Folks,

I'm adding global users accounts via curl/post, and I see the accounts being created successfully. However, when I go to the UI, I don't see the accounts there. Further more, if I try to add the global account again via the same mechanism (curl), it say that the account already exists. What am I missing here? Why aren't the newly created account show up in the UI?

Thanks,

Henry

Solved Solved
0 2 216
1 ACCEPTED SOLUTION

@Henry Medina

I guess you are just creating the users using

http://<mgmt. server url>:8080/v1/users

I have encountered this situation earlier. you also need to associate the users to an org. Otherwise it will not show up in the UI. The users displayed in Edge UI are "Organization Users" as specified by the title there.

Use this API to add the user to the org and associate a role, after this it will be seen in the UI.

http://<mgmt server url>:8080/v1/organizations/<orgname>/userroles/<role>/users?id=<user email>

Check the docs here -

https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/userroles/%7Brole_name%...

View solution in original post

2 REPLIES 2

@Henry Medina

I guess you are just creating the users using

http://<mgmt. server url>:8080/v1/users

I have encountered this situation earlier. you also need to associate the users to an org. Otherwise it will not show up in the UI. The users displayed in Edge UI are "Organization Users" as specified by the title there.

Use this API to add the user to the org and associate a role, after this it will be seen in the UI.

http://<mgmt server url>:8080/v1/organizations/<orgname>/userroles/<role>/users?id=<user email>

Check the docs here -

https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/userroles/%7Brole_name%...

that worked. Thanks!!