From ef409b27c2549e9a38f233585a304b57f43c5d34 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 27 Mar 2025 16:00:46 +0100 Subject: [PATCH] Fix admin tool deactivation, dynamic tool endpoint mixup --- lib/galaxy/webapps/galaxy/api/dynamic_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/api/dynamic_tools.py b/lib/galaxy/webapps/galaxy/api/dynamic_tools.py index 3db5e7fba9e..b5689c13865 100644 --- a/lib/galaxy/webapps/galaxy/api/dynamic_tools.py +++ b/lib/galaxy/webapps/galaxy/api/dynamic_tools.py @@ -89,10 +89,10 @@ class UnprivilegedToolsApi: input_bundle = input_models_for_tool_source(tool_source) return cwl_runtime_model(input_bundle) - @router.delete("/api/dynamic_tools/{tool_id}", response_model_exclude_defaults=True) + @router.delete("/api/unprivileged_tools/{tool_id}", response_model_exclude_defaults=True) def delete(self, tool_id: str, user: User = DependsOnUser): """ - DELETE /api/dynamic_tools/{encoded_dynamic_tool_id|tool_uuid} + DELETE /api/unprivileged_tools/{encoded_dynamic_tool_id|tool_uuid} Deactivate the specified dynamic tool. Deactivated tools will not be loaded into the toolbox.