Cannot delete local user account in HPE OneView

Symptom

The deletion fails with error code 500.

Action
  1. Perform the following REST API call to modify the user account to be deleted:
    PUT https://{appl}/rest/users
                  
  2. Try to delete the user account again.