modifyUserEmail

Back to index

Summary

Modifies a user/email mapping.
userName
Stringrequired
User that contains this email.
email
Stringrequired
The email address.
newEmail
Stringoptional
The new email address.

Usage

Perl

$cmdr->modifyUserEmail( "test-userName", # userName "test-email" # email # optionals );

ectool

ectool modifyUserEmail \ "test-userName" `# userName` \ "test-email" `# email` \ # optionals

Examples

ectool

ectool modifyUserEmail mjones mjones2@example.com --newEmail mjones.old@example.com

Response:

<response requestId="1" nodeId="192.168.1.217"> <userEmail> <userEmailId>425696f5-faf3-11eb-8eb6-4ccc6a9b547d</userEmailId> <createTime>2021-08-11T22:27:06.127Z</createTime> <email>mjones.old@example.com</email> <lastModifiedBy>admin</lastModifiedBy> <modifyTime>2021-08-11T22:27:06.127Z</modifyTime> <owner>admin</owner> <status>UNVERIFIED</status> <userName>mjones</userName> </userEmail> </response>