Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Security → UserOpChangePassword

AI-generated

Summary

Change the password of an authenticated user by providing their current and new passwords in JSON format.

Inputs

  • Body (required) — A JSON object containing 'currentPassword' and 'newPassword' strings to update the user's password.

Output shape

a single JSON object indicating success or error details

Returns an object representing the result of the password change operation. On failure, error details including message, description, and optionally stack trace are included.

Examples

Example 1: Update user password

Set resource to 'System/Security' and operation to 'UserOpChangePassword', then provide the body JSON with currentPassword and newPassword fields.

Discussion