N8n API | Stop/cancel execution

I have a webhook that receives a query from a GUI interface and starts a process. Depending on the query, this process can take a long time in most cases.

I need a way to cancel the process based on the execution ID without having to open n8n executions and stop it manually from there.

I think I could solve this with:
Webhook w/ n8n execution ID => n8n API to stop the execution

However, it doesn’t look like the n8n API currently supports this. It only supports deleting an execution, but I want to keep that execution there and just stop or cancel it.

This would be very useful in many cases, especially when the end user doesn’t have access to n8n and keeping the execution running consumes API credits (in my case, OpenAI credits).