In Bitrix how can I update the fields b_user.Login and b_user.EXTERNAL_AUTH_ID (login type) with an API call?
I guess I should use the method user.update, but how do I have to reference this fields?
Is it even possible to do this with the API?
How can I update LOGIN and EXTERNAL_AUTH_ID in Bitrix with an API call?
97 views Asked by yolohawi At
1
You can't update
LOGINorEXTERNAL_AUTH_IDuser filds by using standarduser.updateendpoint.If you have Bitrix24 On-Premise Edition, you can create new endpoint, like
local.user.updateand useCUser::Update(id,fields)method. For this you need to subscribe OnRestServiceBuildDescription event and pass method name, that returns description about endpoint handler.Here is ref to docs