User
User Management and Authentication
Last updated
User Management and Authentication
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
To create new User(s) in the system. API supports bulk creation with max limit as defined in the UserReq. Please note that either whole batch succeeds or fails, there's no partial batch success. To create one user, please pass array with one user object.
Users can be created based on the roles. Users with types as SYSTEM and EMPLOYEE can create other users if their RBAC mapping provides them the permission. Users with CITIZEN type can only create themselves, while EMPLOYEE and SYSTEM type users can also create other EMPLOYEES and CITIZENS.
User registration will always be a two step process, where this API will create a non authenticated user (without password) and after verification (using OTP) other user details (including password) can be updated using update user API to complete the user registration process.
Details for the new user + RequestInfo meta data
User(s) created sucessfully
This API used for update the password after login
Request header for the user with new of values.
Existing password
New password
Unique Identifier of the tenant to which user primarily belongs
Updated password successful
This API used for reset the password when user forgot his password by getting otp Reference through registerd mobile number,
Request header for the user with new of values.
otp reference number which sent to registered mobile
Registered User name
New password
Unique Identifier of the tenant to which user primarily belongs
Updated password successful
This API will update all user related details based on their type. Following rules apply -
Request header for the user with new of values.
Update user(s) successful