Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Security → UserOpChangeEmail

AI-generated

Summary

Change the email address of the currently authenticated user by providing the new email and the current password.

Inputs

  • Body (required) — JSON object with 'newEmail' (string) for the new email address and 'password' (string) for the current user password to authorize the change.

Output shape

a single JSON object with the operation result

Returns the API response as JSON after attempting to change the user's email. May include error details if the operation fails.

Examples

Example 1: Changing a user's email

Set the resource to 'System/Security' and operation to 'UserOpChangeEmail'; provide a JSON body with 'newEmail' and 'password' fields.

Discussion