07-16-2024 12:31 AM
Hi Team,
Is there any API which list down assigned roles to all Users?
Also can we assign roles to user? Any REST API?
Thanks,
Prashant
Solved! Go to Solution.
07-24-2024 07:30 AM
Hi @prashant-chinchkar Earlier the API documentation had conflicting details, however, now that has been corrected, please check: https://developer.webex.com/docs/api/v1/roles. I've also confirmed with the PM and as I mentioned before, the List Roles API will list all the roles in an org.
However, if you're not seeing the same behavior, you can raise a support request by sending an email to devsupport@webex.com with the API request that you're making along with API response and the roles that you found missing.
07-17-2024 10:52 PM
@prashant-chinchkar As per the https://developer.webex.com/docs/api/v1/roles/list-roles API documentation, it will list all the roles. Is there any specific role that you found missing in the API response? I just tested the API for a non-admin user and I could see all the roles listed.
07-17-2024 11:11 PM
Hi @Rudrakshi ,
This https://developer.webex.com/docs/api/v1/roles/list-roles API list roles assigned to to particular user.
I want a API which will list all roles of site/orgs.
Thanks,
Prashant
07-24-2024 06:55 AM
Hi @Rudrakshi ,
Any update on this?
Thanks,
Prashant
07-24-2024 07:30 AM
Hi @prashant-chinchkar Earlier the API documentation had conflicting details, however, now that has been corrected, please check: https://developer.webex.com/docs/api/v1/roles. I've also confirmed with the PM and as I mentioned before, the List Roles API will list all the roles in an org.
However, if you're not seeing the same behavior, you can raise a support request by sending an email to devsupport@webex.com with the API request that you're making along with API response and the roles that you found missing.
07-17-2024 06:13 PM
There is plenty of documentation on the APIs that are available on-line - see APIs - Access the API | Webex for Developers
Please remember to mark helpful responses and to set your question as answered if appropriate.
07-17-2024 10:00 PM
Hi @Wayne DeNardi ,
I am looking for API which will list all roles of ORG.
This role API only list down Roles assigned to admin/user.
Lets take an example.
I want to manage the role then I need all information of roles which ORG supports.
If I have 100 users then using this Roles API, which only list down roles assigned to 100 users (that to I need to call Roles api 100 times.)
I need API to list all roles of ORG in single call.
Thanks,
Prashant
07-17-2024 02:50 AM
@prashant-chinchkar we have a Roles API that lists all the available roles in the org https://developer.webex.com/docs/api/v1/roles , Roles can be managed using the People API https://developer.webex.com/docs/api/v1/people/update-a-person .
07-17-2024 09:52 PM
@Janos Benyovszki
https://developer.webex.com/docs/api/v1/roles this API doesn't list down all roles, this only Roles assigned to admin/user
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide