The purpose of this API is to change user role in a group in Zoho Connect.
Request URL: | https://connect.zoho.com/pulse/api/changeUserRoleInGroup |
OAuth Scope: | zohopulse.grouplist.CREATE |
Request Method: | POST |
Mandatory Header: | Header name: Authorization Header Value: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52 |
Parameters
Name | Description | Required |
scopeID | ID of the Network the group is in. You can get this from the Network list API. | Required |
partitionId | ID of the Group to change user roles. | Required |
userId | ID of the user whose role is to be changed. | Required |
role | Specify the role. You can choose between ADMIN, MEMBER, or MODERATOR. | Required |
Sample URL
Copiedhttps://connect.zoho.com/pulse/api/changeUserRoleInGroup?scopeID=105000017039001&partitionId=1048785767&userId=6765765&role=ADMIN
Sample Response
Copied{
"changeUserRoleInGroup": {
"result": "success"
}
}