"message": "You are not authorized to perform this action."
}
Please note that i can successfully add Agents from the freshdesk UI.
Adminstration > Equipment > Agents > Add New Support Agent.
This leads me to a freshworks domain where i can create agents successfully.
Best answer by mahendarsingh
Hi Afaq,
I hope you are doing well :)
I understand that you want to migrate agents from one account to another. Note that there is no API call to migrate agents https://developers.freshdesk.com/api/#agents , you can only view, list, create, update, search and delete agents. With respect to the error of access denied you are facing please confirm if you are using a simple GET call to list the agents or doing a PUT call to update and agent. Since you have admin access to Freshdesk, you cannot update details of account admin or supervisor (unless you have account admin or supervisor role in Freshdesk)
Feel free to respond to this thread for any queries :)
I understand that you want to migrate agents from one account to another. Note that there is no API call to migrate agents https://developers.freshdesk.com/api/#agents , you can only view, list, create, update, search and delete agents. With respect to the error of access denied you are facing please confirm if you are using a simple GET call to list the agents or doing a PUT call to update and agent. Since you have admin access to Freshdesk, you cannot update details of account admin or supervisor (unless you have account admin or supervisor role in Freshdesk)
Feel free to respond to this thread for any queries :)