How to update multiple users at once

I am using Appian 17.3. I have the need to update multiple users records. I see Appian has a smart service Update User Profile. However, I don't want to do it  using MNI because I have more than 1000 users which is the MNI limit. 

How can I use a!updateuserprofile() in an expression so that I can use a!foreach() and update the users that way instead of doing MNI? I would like to perform this logic on a process model. The documentation says that it has to be within a saveInto or using a web API. How do I do it as part of a web API?

  Discussion posts and replies are publicly visible