Skip to main content
Version: 5.7.0

UpdateGroupMember

Update a member of the group.

ServiceOperation
groupUPDATE_MEMBER_OF_GROUP

Method Parameters

ParameterDescription
groupIdID of the group
profileIdProfile ID of the member being updated
roleRole of the member being updated
jsonAttributesAttributes of the member being updated

Usage

http://localhost:3000
string groupId = "a-group-id";
string profileId = "a-profile-id";
Role role = Role.MEMBER;
string jsonAttributes = "{}";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.Group.UpdateGroupMember(groupId, profileId, role, jsonAttributes, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}