How can I activate user accounts in batch?

We have a site with many user accounts which need to be activated. Is there any way we can activate it all in batch? It’ll take a lot of time to do it from http://[site-url]/admin/users/[id]/[name]

Thanks.

You may find a discussion here, how to create and activate users using API. I think, people familiar to bash, cmd, python etc may help to create simple batch script to loop an activating process.

1 Like

Thanks, Ivan. That will solve our problem. We’ll consult the API doc and modify the script to suit our need. :smile:

1 Like

See Bulk deactivation of inactive users you can modify the code there to activate.

4 Likes

Perfect!!! Thanks, Jay.

1 Like

This topic was automatically closed after 2370 days. New replies are no longer allowed.