Can a user be moved to Light Agent role type via API or any workaround? | Community
Skip to main content

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

  • July 14, 2022
  • 2 replies
  • 0 views

Gaby11

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.

2 replies

Eric27
  • July 14, 2022
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,

Gaby11
  • Author
  • July 20, 2022

Hey @eric27 , 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!