Creating user through API, assign users to two apps by default

I call the “Create User with Password” (https://developer.okta.com/docs/reference/api/users/*create-user-with-password) with “active” set to “true”.

So the new created user is assigned automatically to two of my apps. I have four apps and I want user to be assigned to all four.

Is there any settings in developer console to change this behavior ?

I’m guessing that the “Everyone” group is assigned the two applications that you are seeing the new users assigned to, is that right?

One of the things you can do while creating the user via API is to include a list of groupIds you’d like them to be assigned to. You could then have this group assigned to the four applications you want the users to be able to access.

1 Like