Hi there,
I am trying to export a list of all users who are agents, but I don't need all the information that the command generates - I only need to the name and email address of the agent.
Reason being is that I'm going to need to load this data into a powershell script to create diffs for people who are no longer within our organization.
What would the syntax be for that?
The below works and generates a list of our agents but it has too much info in there, I just need their name and email.
curl -o export.html -u emailaddress/token:blahblahblahhttps://ourinstance.zendesk.com/api/v2/users.json?role[]=agent
any advice would be much appreciated.
Thanks
Steve