One minute
Deleting Users and Identities in OpenShift
The following are the steps to delete the user:
Extract the secret data and redirect to a file
$ oc get secret -n openshift-config $ oc extract secret/htpass-secret --to - -n openshift-config > htpasswd.delete
Edit the file and remove the line of the user to be revoked.
Update the secret to remove the user
$ oc create secret generic htpass-secret --from-file=htpasswd=htpasswd.delete --dry-run -o yaml -n openshift-config | oc replace -f -
Remove identity
$ oc get identity $ oc delete identity/my_htpasswd_provider:lsbercasio
Remove user
$ oc get users $ oc delete user/username