patils27
5 years agoGuide
How to create User with Roles using REST API
Hi Team , I'm looking for option to create User with Roles using REST API Thanks & Regards Sachin Patil
- 5 years ago
Hi patils27 ,
You can look to add roles to the users using the following API:
To add a specific role to a user, you can chain users/add after Community/roles/name/role_name like this /roles/name//users/add?role.user=/users/login/ or this /roles/name//users/add?role.user=/users/id/.
The following is the documentation for the same:
Please Give Kudos if you find this post useful and also mark this as Accepted Solution if this is the required solution.
Regards
Tarun Kumar