n8n unpublish:workflow --id=123

Category: n8n & Workflow Automation

n8n unpublish:workflow --id=123

Unpublish a workflow

Removes workflow 123 from the published state, stopping its scheduled triggers and webhook endpoints. Third-party services may still hit a webhook URL briefly while it deregisters. Restart n8n to be certain every trigger is fully stopped.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.