There is no documented/supported way for this at the moment I am afraid.
One method I have tried here together with @Benjamin_Exner to actually disable user management (and handle authentication solely in the reverse proxy) was:
- Exporting all workflows and credentials via the CLI (described here)
- Switch to a fresh database (if using the default SQLite database that can be achieved by moving or deleting the old
database.sqlite
file, a new one will then be created on the next n8n start) - Set the
N8N_USER_MANAGEMENT_DISABLED
environment variable totrue
- Start n8n and import the workflows and credentials exported in step 1
This approach will not preserve tags or execution logs though. With these being merely a workaround I’d strongly suggest backing up your data beforehand.