Recent searches
No recent searches
How can I list users who are active and not suspended?
Posted Mar 01, 2023
https://{subdomain}.zendesk.com/api/v2/users.json?active=false
Lists both users with active true and users with active false. Sames goes for suspended=true. How can I filter on these values?
0
2
2 comments
Greg Katechis
Hi Sam! The query parameter that you passed is not an available side-load for users, which is why it's returning all users. I am not aware of an APIs that return all active users, however you can list deleted users with this request.
0
Sam Illingworth
Hi Greg,
Not sure I understand you there. From that documentation it sounds like side-loading refers to loading data from another table/object, but active and suspended are both fields within the user record, which is the record I'm retreiving. I'm not looking to return any aditional data, the fields I want are both already returned as part of the user record, I just want to filter on them.
0