Please enable JavaScript.
Coggle requires JavaScript to display documents.
Okta Delete a User - Coggle Diagram
Okta Delete a User
[BOT checks users role for Admin]
{yourOktaDomain}/api/v1/users
{yourOktaDomain}/api/v1/users/{userID}/roles
[Is SUPER_ADMIN]
Provide user email to be deleted:
[Single Input text line- Mandatory]
<btn> Proceed
[Proceed]
[BOT calls API to check user]
{url}/api/v1/users?search=profile.email%20eq%20%22{email}%22
[email Found]
[Bot calls API to deactivate user]
DELETE {url}/api/v1/users/{UserID}
[Username] has been deactivated now.
Are you sure, you want to delete this?
<Yes><No>
[No]
Anything else?
[Yes]
[BOT calls API to delete user]
DELETE {url}/api/v1/users/{UserID}
1 more item...
[email not found]
I cant find [email]
Retry?
<Yes><No>
[No]
Anything else?
[Yes]
[Isnt SUPER_ADMIN]
Sorry you dont have access to delete users
Anything else?