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

2 Comentários

  • Tipene Hughes
    Zendesk Developer Advocacy

    Hi Tokugawa Yusuke,

    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
  • Tokugawa Yusuke

    Hi Tipene,

    Thanks for your reply.

    I understood your suggestion is the best option.

    Yusuke

    0

Por favor, entrar para comentar.

Powered by Zendesk