How to Remove Deactivated Users from Okta Groups
Last Updated:
Overview
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.
