Purpose

The API is used to change the role of the group member based on the details provided in the request.

 Request URL

https://mail.zoho.com//api/organization/<zoid>/groups/<groupId>

 Request Parameters

ParameterData TypeAllowed ValuesDescription
mode*StringchangeMemberRoleTo change the role of a member of the group from member to moderator or vice-versa. 
mailGroupMemberList*Object MemberListVO with all individual parameters.
zuidInteger ZUID of the user, incase the user is from the same organization
memberEmailId*StringEmail AddressEmail address of the member whose role should be changed. 
role*Stringmember
moderator
The role to which the member should be changed to.

* - Mandatory parameter

 Response Codes

Please refer Response Codes.

Sample Request


				{
    "mailGroupMemberList": [{
        "zuid": 1542753,
        "role": "moderator"
    }],
    "mode": "changeMemberRole"
}