最近搜索


没有最近搜索

How can I list users who are active and not suspended?



已于 2023年3月01日 发布

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 条评论

image avatar

Greg Katechis

Zendesk Developer Advocacy

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


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


请先登录再写评论。

找不到所需的内容?

新建帖子