Recent searches


No recent searches

Can a user be moved to Light Agent role type via API or any workaround?

Answered


Posted Jul 14, 2022

Would love to be able to change an Agent's role-type to Light Agent. Is there any way to do this? or is there absolutely no way to do this?

Thank you.


0

2

2 comments

image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey Gaby,

Do a "GET" to the custom_roles endpoint https://{{subdomain}}.zendesk.com/api/v2/custom_roles find the light agent role and grab the ID. Then you can update users by doing the following:
 
{
"user": {
"custom_role_id": 1260801964510
}
}
 
We talk about this process here

Hope this helps,

0


Hey Eric Nelson , thank you so much for all of your help. Sorry for the late response was out of the office. This method worked great for me!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post