List scim users API

What does list scim users API used for apart from
to find the user via userName while creation?

If I send all the users of my app in list response which may not be scim provisioned by okta,
would okta creates all of them?

Also, what is the ideal response for list call if some filter is not supported.
Empty or bad request?

Thanks!

The SCIM API, specifically the “List SCIM Users” endpoint, is used for more than just finding a user via their userName during creation.

It’s used during User Import operation only. That’s where you would send them all.

And no Okta won’t create all of the users if you send them all as a response to findUser request. It’ll throw an error instead as more than one user is returned back