# Detect user removed from application

**URL:** <https://devforum.okta.com/t/detect-user-removed-from-application/840>\
**Category:** API\
**Tags:** api\
**Created:** [December 4, 2017, 1:47pm UTC](https://devforum.okta.com/t/detect-user-removed-from-application/840 "2017-12-04T13:47:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ananddhage](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@ananddhage](https://devforum.okta.com/u/ananddhage)\
**Post date:** [December 4, 2017, 1:47pm UTC](https://devforum.okta.com/t/detect-user-removed-from-application/840/1 "2017-12-04T13:47:53Z")

</div>

How to detect users removed from application in okta through rest api.

---

<div class="post-metadata">

**Author:** ![bretterer](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/bretterer/32/244_2.png) [@bretterer](https://devforum.okta.com/u/bretterer)\
**Post date:** [December 4, 2017, 8:37pm UTC](https://devforum.okta.com/t/detect-user-removed-from-application/840/2 "2017-12-04T20:37:55Z")

</div>

Is it some sort of event system or webhook system that you want to be able to use to have some logic on your application triggered when this happens out of band?

---

<div class="post-metadata">

**Author:** ![ananddhage](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@ananddhage](https://devforum.okta.com/u/ananddhage)\
**Post date:** [December 5, 2017, 7:03am UTC](https://devforum.okta.com/t/detect-user-removed-from-application/840/3 "2017-12-05T07:03:42Z")

</div>

I just want to retrieve the details of users who remove from application through rest api.

---

<div class="post-metadata">

**Author:** ![robertjd](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/robertjd/32/222_2.png) [@robertjd](https://devforum.okta.com/u/robertjd)\
**Post date:** [December 5, 2017, 11:51pm UTC](https://devforum.okta.com/t/detect-user-removed-from-application/840/4 "2017-12-05T23:51:48Z")

</div>

If the user has been completely removed the resource will no longer exist. If the user has been deprovisioned, you can look for users with that status. Docs here: [https://developer.okta.com/docs/api/resources/users.html#list-users-with-search](https://developer.okta.com/docs/api/resources/users.html#list-users-with-search)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 12, 2024, 9:25pm UTC](https://devforum.okta.com/t/detect-user-removed-from-application/840/5 "2024-01-12T21:25:40Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
