Ricerche recenti


Nessuna ricerca recente

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



Data ultimo post: 01 mar 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 commenti

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


Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post