How to Update User Password throw the api

Hi Team,

I wanted to inquire about updating a user’s password after creating them using the workflow_engine/rest/users API in n8n. Is there a specific method or procedure to follow to achieve this task? Any guidance or assistance would be greatly appreciated. Thank you for your time.

Information on your n8n setup

  • n8n version: 0.233.1
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Linux

Thank you,

Hey @Tanay_Acro,

We don’t have a documented or supported API for creating users so I suspect you are using the unsupported internal API.

I have taken a quick look at the options we have available in the front end and we don’t have an option for an admin to update a users password so the only option would be call we use when a user changes their own password.

I think the best option would be to add your own API call to change a users password which you could base on the current password change option and just drop the check for validating the existing user password but you would need to make sure you secure this to prevent abuse.