API Create User with different user_source_id

Hi,

we must add a lot of users through API calls, but we also have to change the “user_source_id” to our 2FA Source, so the Users are only able to login with 2FA from the beginning.

There is a DB-Field (user_source_id) in the morpheus-db that we could change later, but we cant find no Option to create other than “local Users” through the morpheus API.

Knows anybody a (hidden) feature to to this with the API.

Thanks
Thomas

Create user only has the concept of local user. Otherwise your users are created / maintained within your 3rd party IDM. You would map the groups/roles from your IDM to Identity Sources in Morpheus and as they login, they will be generated within our users table.