def delete(self, user_id):
        """
        Deletes a user account

        Arguments
        ---------
        user: string
            Username to make admin

        Returns
        -------
        result: boolean
            Function success or failure

        """
        if del_user(user_id):
            return {'msg': 'User deleted'}, 200
        abort(404)

        Deletes a user account

        Arguments
        ---------
        user: string
            Username to make admin

        Returns
        -------
        result: boolean
            Function success or failure

        
crackq/cq_api.py