<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Remove Deactivated Users from Okta Groups
Administration
Okta Classic Engine
Okta Identity Engine
Overview
This article describes how to remove deactivated users from Okta Groups (Including Users assigned by group rules).
Applies To
  • Okta Groups
Solution

Follow the steps or video below.


 

  • ​​​​​​​Okta API end-point can remove a deactivated user from the group.
  • Use the following API end-point to delete the deactivated user from an Okta Group: 

    DELETE /api/v1/groups/${groupId}/users/${userId}

  •  groupId and userId can be found using the List Groups and Users API.

    GET /api/v1/groups & GET /api/v1/users

    Example: https://${ktaDomainName}/api/v1/groups/00g1fanEFIQHMQQJMHZP/users/00u1f96ECLNVOKVMUSEA.

 

Related References



Loading
How to Remove Deactivated Users from Okta Groups