def handle_delete_user(self, req):
<EOL>account = req.path_info_pop()<EOL>user = req.path_info_pop()<EOL>if req.path_info or not account or account[<NUM_LIT:0>] == '<STR_LIT:.>' or not user oruser[<NUM_LIT:0>] == '<STR_LIT:.>':<EOL><INDENT>return HTTPBadRequest(request=req)<EOL><DEDENT>is_reseller_admin = self.is_user_reseller_admin(req, account, user)<EOL>if not is_reseller_admin and not req.credentials_valid:<EOL><INDENT>return HTTPNotFound(request=req)<EOL><DEDENT>elif is_reseller_admin and not self.is_super_admin(req):<EOL><INDENT>return HTTPForbidden(request=req)<EOL><DEDENT>if not self.is_account_admin(req, account):<EOL><INDENT>return self.denied_response(req)<EOL><DEDENT>path = quote('<STR_LIT>' % (self.auth_account, account, user))<EOL>resp = self.make_pre_authed_request(<EOL>req.environ, '<STR_LIT>', path).get_response(self.app)<EOL>if resp.status_int == <NUM_LIT>:<EOL><INDENT>return HTTPNotFound(request=req)<EOL><DEDENT>elif resp.status_int // <NUM_LIT:100> != <NUM_LIT:2>:<EOL><INDENT>raise Exception('<STR_LIT>' %<EOL>(path, resp.status))<EOL><DEDENT>candidate_token = resp.headers.get('<STR_LIT>')<EOL>if candidate_token:<EOL><INDENT>object_name = self._get_concealed_token(candidate_token)<EOL>path = quote('<STR_LIT>' %<EOL>(self.auth_account, object_name[-<NUM_LIT:1>], object_name))<EOL>resp = self.make_pre_authed_request(<EOL>req.environ, '<STR_LIT>', path).get_response(self.app)<EOL>if resp.status_int // <NUM_LIT:100> != <NUM_LIT:2> and resp.status_int != <NUM_LIT>:<EOL><INDENT>raise Exception('<STR_LIT>'<EOL>'<STR_LIT>' % (path, resp.status))<EOL><DEDENT><DEDENT>path = quote('<STR_LIT>' % (self.auth_account, account, user))<EOL>resp = self.make_pre_authed_request(<EOL>req.environ, '<STR_LIT>', path).get_response(self.app)<EOL>if resp.status_int // <NUM_LIT:100> != <NUM_LIT:2> and resp.status_int != <NUM_LIT>:<EOL><INDENT>raise Exception('<STR_LIT>' %<EOL>(path, resp.status))<EOL><DEDENT>return HTTPNoContent(request=req)<EOL>
Handles the DELETE v2/<account>/<user> call for deleting a user from an
        account.

        Can only be called by an account .admin.

        :param req: The swob.Request to process.
        :returns: swob.Response, 2xx on success.