I am trying to activate a workflow using the n8n API. I am using the PATCH method for API https://thechange.app.n8n.cloud/rest/workflows/workflow-id, I also tried with https://thechange.app.n8n.cloud/api/v1/workflows/workflow-id/activate and passing the header X-N8N-API-KEY with the API key. I am getting the unauthorized error everytime in response.
Information on your n8n setup
- n8n version: 1.77.3
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
- Operating system: