Changing a user to SSO user using API

Hello,

For users who currently have “no SSO,” we enable SSO today by importing a CSV file that includes the user’s email address and selecting the “SSO User” option on the “Import from CSV” screen. This process updates an existing user to be SSO-enabled.

We would like an API that provides the same capability, allowing us to enable SSO for existing users programmatically. Please suggest.