Management API to create user

Hi,

We want to create user, list user, get user details etc using Management API but when I try to get the user details it throws error saying given user does not exist. But this user is active user and I can user listed in the Apigee portal. can anyone help on this.

0 2 91
2 REPLIES 2

Below is the error message

{

"code": "usersandroles.UserDoesNotExist",

"message": "User abc@example.com does not exist",

"contexts": []

}

Not applicable

Yes, this is a known scenario. You need to first create a global user, then add role to that, then only you can see that.

The steps to do the same using management api call are present in the below link.

https://docs.apigee.com/api-platform/system-administration/adding-global-users