# Remove all Access when user state changes from Inactive to Terminated

**URL:** <https://developer.sailpoint.com/discuss/t/remove-all-access-when-user-state-changes-from-inactive-to-terminated/82487>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, identity-security-cloud\
**Created:** [September 23, 2024, 11:46am UTC](https://developer.sailpoint.com/discuss/t/remove-all-access-when-user-state-changes-from-inactive-to-terminated/82487 "2024-09-23T11:46:13Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![RitikaK](https://avatars.discourse-cdn.com/v4/letter/r/e9bcb4/32.png) [@RitikaK](https://developer.sailpoint.com/discuss/u/RitikaK)\
**Post date:** [September 23, 2024, 2:56pm UTC](https://developer.sailpoint.com/discuss/t/remove-all-access-when-user-state-changes-from-inactive-to-terminated/82487/11 "2024-09-23T14:56:26Z")

</div>

with reference to,  
[Remove all entitlements with workflow - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community](https://developer.sailpoint.com/discuss/t/remove-all-entitlements-with-workflow/16692/4)

is this correct approach to remove both Ent and AP in Loop Input?  
$.hTTPRequest.body[0].access[?(@.type == “ACCESS\_PROFILE” && @.type == “ENTITLEMENT”)]

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/remove-all-access-when-user-state-changes-from-inactive-to-terminated/82487)._
