What the endpoint to remove an Agent Chat license? | Community
Skip to main content

What the endpoint to remove an Agent Chat license?

  • August 25, 2022
  • 1 reply
  • 0 views

Athos13

Hi team,

I've been working in a code to modify the role agents. For support role it's working good.

alteraUser1 = {"user": {"custom_role_id": agentLightCode, "role_type": "1"}}  # Remove license
pyload = json.dumps(alteraUser1)

But, I'm not found the endpoint to remove the Chat license. 
Anybody knows how can I remove the chat license for agent with API?

Best regards,
Athos

1 reply

CJ99
  • August 25, 2022

As far I know, there is not one. The only way to toggle chat on and off is manually through the interface, confirmed for me by support, as I have to do this by hand literally hundreds of times each year and would LOVE to be able to change this via the API.