'Logout and clear session cookies'

@api.response(200, u'Logout    successful', model=base_message_schema)
def post(self, session=None):

    flask_session.clear()
    resp = success_response(u'User    logged    out')
    resp.set_cookie(u'flexget.token', u'', expires=0)
    return resp
