Hello everyone,
I´m trying to create a User using the Management API, but I´ve found some issues on our Private Cloud Installation 4.19.01:
First I created the User using the POST call:
https://apidocs.apigee.com/management/apis/post/users
{ "firstName" : "myName", "lastName" : "myLastname", "password" : "not_used", "emailId" : "myMail@my.domain.de" }
After that, I can query the users with
https://apidocs.apigee.com/management/apis/get/users
and I get the users listed (including the new one)
{ "user": [ { "name": "someUser@my.domain.de" }, { "name": "myMail@my.domain.de" } ] }
But when I query the User Info, I get an Error saying that the user does not exists.
https://apidocs.apigee.com/management/apis/get/users/%7Buser_email%7D
{ "code": "usersandroles.UserDoesNotExist", "message": "User myMail@my.domain.de does not exist", "contexts": [] }
Also I cannot delete the user, because it says the user does not exists.
Anyone had such an Issue?
Thanks in advance
Solved! Go to Solution.
The issue was in the user definition:
You can create a User globally or for an specific Org.
Therefore better create the user globally using "v1/users", so that they can login, you can view the Info in the Edge UI and so on.
Thanks @Nagashree B for your help