Freshservice API

Hey team!

When I send a DELETE request to “https://mydomain.freshservice.com/api/v2/requesters/[id]/forget”, Freshservice deletes the requester’s data, but the requester stays in the system as a Forgotten User. This is causing me to have more than 1000 requesters with the status “Forgotten User” in requesters list via API :frowning:. Is there any filter that can be used to avoid having so many Forgotten users in the response?

image

Hey @Nasir_Haidari,

Have you tried using List All agents API with the active filter?

/api/v2/agents?active=true

This should resolve the listing of forgotten users.

Hey @zach_jones_noel !

Thanks for your reply ! yes, it works perfectly even on requester!

Thank you! :pray:

1 Like