Delete emailed contact: Difference between revisions
No edit summary |
|||
Line 4: | Line 4: | ||
=How to delete emailed contact using CLI?= | =How to delete emailed contact using CLI?= | ||
<hr> | <hr> | ||
{{KB|{{ | {{KB|{{ZC}}|{{ZCS 8.8}}||||}} | ||
Revision as of 11:14, 3 November 2021
How to delete emailed contact using CLI?
Problem
- Remove any wrong emailed contact from a user's account.
Solution
- Search emailed contact which needs to be deleted using below command
$ zmmailbox -z -m account@example.com gact -f "Emailed Contacts" |grep -i user@example.com Id: 3142 Folder: /Emailed Contacts Date: 03/31/20 16:53 Revision: 25933 Attrs: firstName: admin email: user@example.com
Note "Id" from the above command's output which is needed in the next step to remove the emailed contact. In the above example, Id is "3142".
- Delete emailed contacts using CLI by copying above mentioned "Id" in below command
$ zmmailbox -z -m account@example.com dct 3142
Submitted by: Vivek Dhande |