app/models/canvas/logins.rb
# Change the sis_user_id of that Login record to match the LDAP-or-student-ID scheme.
#   PUT /api/v1/accounts/1/logins/1040 -F 'login[sis_user_id]'=new_sis_id
#   {"account_id":1,"id":1040,"sis_user_id":"new_sis_id","unique_id":"anldapuid","user_id":1041}
Change the sis_user_id of that Login record to match the LDAP-or-student-ID scheme.
Change the sis_user_id of that Login record to match the LDAP - or - student - ID scheme .
def change_sis_user_id(login_id, new_sis_user_id)
      url = "accounts/#{settings.account_id}/logins/#{login_id}?login[sis_user_id]=#{new_sis_user_id}"
      request_uncached(url, '_put_login_sis_user_id', {
        method: :put
      })
    end
def change_sis_user_id ( login_id , new_sis_user_id ) url = "accounts/#{settings.account_id}/logins/#{login_id}?login[sis_user_id]=#{new_sis_user_id}" request_uncached ( url , '_put_login_sis_user_id' , { method : :put } ) end
Change the sis_user_id of that Login record to match the LDAP-or-student-ID scheme.
Change the sis_user_id of that Login record to match the LDAP - or - student - ID scheme .
login_id
new_sis_user_id