Changing users identities via Users API

Is it possible to changing users identities via Users API? We add new openid_connect auth provider, and would like to add this identity for all users automaticaly.
But I could not find any method for it in Users APi Is it possible via user modification ? If so, is there any examples?

Thank you.

Hmm… I found solution, example:
curl --request PUT --header “PRIVATE-TOKEN: someToken” --header “Content-Type: application/json”