Are there any ways to list soft deleted users via API or any workaround?

2 Comments

  • Tipene Hughes
    Zendesk Developer Advocacy

    Hi Yusuke Tokugawa,

    Thanks for reaching out!

    Unfortunately there isn't an endpoint which returns only soft-deleted users. As you mentioned, the deleted_users endpoint will return a list of both soft-deleted and permanently deleted users. The best option I can suggest would be to iterate over the array of users that is returned and filter out any users with the name "Permanently Deleted User".

    Sorry I couldn't be more help! Let me know if you have any questions.

    Tipene

    1
  • Yusuke Tokugawa

    Hi Tipene,

    Thanks for your reply.

    I understood your suggestion is the best option.

    Yusuke

    0

Please sign in to leave a comment.

Powered by Zendesk