Purpose
The API is used to add members to the group and also define their roles in the group.
Request URL
https://mail.zoho.com/api/organization/<zoid>/groups/<groupId>
Scope
organization.groups
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | addMailGroupMember | To add member to a group. along with their role details. |
mailGroupMemberList* | Object | MemberListVO with all individual parameters. | |
zuid | Integer | ZUID of the user, incase the user is from the same organization | |
memberEmailId* | String | Email Address | Email address of the member to be added. |
role* | String | member moderator | The role of the member who is to be added. |
* - Mandatory parameter
Response Codes
Please refer Response Codes.
Sample Request
Copied{
"mailGroupMemberList": [{
"zuid":123456
"memberEmailId": "mark.francis@zylkernew.com",
"role": "moderator"
},
{
"memberEmailId": "tina.francis@zylkerother.com",
"role": "member"
}],
"mode": "addMailGroupMember"
}