def METHOD_NAME():
    req = request.json
    dlp = None
    if req['dlp_id'] is not None:
        try:
            dlp = DataLoadingPlan().deserialize(*dataset_manager.get_dlp_by_id(req['dlp_id']))
        except FedbiomedError as e:
            return error(f"Cannot load data loading plan for customizations: {e}"), 400
    g.dlp = dlp