I've dealt with something similar recently. IBM MAS does provide REST APIs that can be used to manage user records, including updates. While there isn't a direct "bulk update" endpoint, you can script multiple update calls using the user management API.
Start by checking out the official IBM MAS REST API documentation here:
[https://www.ibm.com/docs/en/mas-cd](https://www.ibm.com/docs/en/mas-cd)
Once there, search for the **User Management API** section. It outlines endpoints for creating, updating, and managing users.
For bulk updates, you'd typically:
* Write a script (Python, Node.js, etc.) to read your user data
* Use the `PATCH` or `PUT` endpoints in a loop to update each user
* Handle errors and retries to avoid data issues
Since your data is in MongoDB, make sure any changes done via API align with the expected schema in MAS to avoid breaking things.
If you're working in a secure or production environment, check with your admin to ensure the API access is enabled and you have the right tokens/permissions to make these calls.
Let me know if you need help putting together an example script.
------------------------------
Frank Reebig
------------------------------
Original Message:
Sent: Thu June 26, 2025 01:20 PM
From: Pankaj Bhide
Subject: Rest API for bulk update of users in MAS (mongoDB db)
Hello,
We need to bulk update the user records in MAS (stored in the mongoDB db). Our application provider does not want to use SQL commands to perform these bulk updates and considering the volume of data, it would not only take a good amount time to manually update each active user record but also it can be error prone.
Someone told me that IBM provides "Rest API" for (possibly bulk) adding, modifying the user records in MAS (stored in the MongoDB). Can someone provide any documentation, links, examples etc.
This would be very useful to us.
Thanks
------------------------------
Pankaj Bhide
------------------------------