

def on_delete(self, req, resp, session_id):
    user_id = req.get_header('X-User-ID')
    self.db.delete_session(user_id=user_id, session_id=session_id)
    resp.body = {
        'session_id': session_id,
    }
    resp.status = falcon.HTTP_204

dataset/ETHPy150Open openstack/freezer-api/freezer_api/api/v1/sessions.py SessionsResource.on_delete/original