Remove Account Owner and deactivate User Management

Hey @Benjamin_Exner, I am afraid there is no way to simply disable the user management functionality after creating an owner account. As per the docs setting N8N_USER_MANAGEMENT_DISABLED=true would not have any effect:

Defaults to user management enabled (false). Set to true to disable the user management feature. Note that n8n ignores this environment variable if you have already set up an owner account.

So you’d essentially need to roll back to a state before enabling user management and make sure to then set N8N_USER_MANAGEMENT_DISABLED=true. Do you have database backups from that time?

If not, you could export workflows and credentials (via CLI commands such as n8n export:credentials --all --decrypted and n8n export:workflow --all), then create a fresh n8n instance without user management enabled and import the previously exported workflows/credentials. You’d loose old workflow execution logs in the process though.

2 Likes