I can't change user role from “end-user” to “agent” using user API Users | Zendesk Developer Docs. Is it even possible?
Question
Change of user role using API
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


Sure thing - this is possible using the API you've referenced. When attempting the role change, make sure your account has available unused agent seats or the change won't succeed. Are you receiving a specific error message?