Describe the problem/error/question
I use the api on localhost for automated tests. I consider that as good practice. My workflow responds to a Webhook node. A Webhook has a url. I can set the url using its Path. All right. Now when my automated test updates the workflow the url changes by addin the id of the workflow as follows: http://localhost:5678/webhook/extraIdThatSucks/webhookSucksAlso/selectworkflow
My issue: I do not want the parts in the url that sucks.
Please share your workflow
Information on your n8n setup
- n8n version: 1.64.3
- Database default: SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via desktop app on localhost
- Operating system: Windows 10
Can’t you just erase the extra parts by changing the path?
Thanks for your suggestion. No that won’t work. I can only set Path. Resetting it does not make a difference to the url scheme.
Then I don’t understand what is happening.
Can you show more screenshots of the steps that make the problem happen, please?
The issue occurs / triggers when I use the api:

Before the PUT I remove the id’s as follows: ```python
# Clean nodes to avoid n8n API errors
if “nodes” in workflow_for_update:
for node in workflow_for_update[“nodes”]:
if “id” in node:
node.pop(“id”, None)
if node.get(“type”) == “n8n-nodes-base.webhook” and “webhookId” in node:
node.pop(“webhookId”, None)
I gave up. Apparently I cannot control that url scheme. I simply had to workaround. Not happy.