The Rockstar Browser Plugin for Okta allows deleting an Okta user by utilizing its API Explorer feature. This feature is essentially a simplified interface for making direct Okta API calls.
This article details how to delete Okta users by using the Rockstar Browser Plugin.
- Okta API
- Okta Integration Network
- Delete User
The Okta user must be deactivated before they can be permanently deleted. The process generally involves two separate API calls. Therefore, the process involves two main steps:
- Deactivate the Okta user
- Delete the deactivated Okta user
Deactivate the Okta user
- In the Okta Admin Console, go to Directory > People and select the user that should be deleted.
- Click the Rockstar plugin icon in the browser toolbar, then click API Explorer.
- Configure the Deactivation API Call:
-
- Set the HTTP Method dropdown to POST.
- Select the URL endpoint:
/api/v1/users/${userId}/lifecycle/deactivate
-
-
- Replace
${userId}in the URL path with the actual Okta User ID obtained.
- Replace
-
-
-
- Leave the Body field empty.
-
- Click the Send button.
- Check the response. A successful deactivation will typically return a 200 OK status code, and the user's status in the Okta console should change from Active to Deactivated.
Delete the deactivated Okta user
Once the user is successfully deactivated, you can proceed with the permanent deletion.
- If it is not already open, click the Rockstar plugin icon, then API Explorer.
- Configure the Deletion API Call:
-
- Set the HTTP Method dropdown to DELETE.
- Select the URL endpoint:
/api/v1/users/${userId}
-
-
Replace${userId}in the URL path with the same Okta User ID.
-
-
-
- Leave the Body field empty.
-
- Click the Send button.
- A successful deletion will typically return a 204 No Content status code.
- Refresh the Okta Admin Console's People page. The user should no longer appear in the list (or, if trying to navigate to their profile, a 404 Page Not Found error will appear).
