Skip to main content
Version: 5.7.0

RemoveFriends

Unlinks the current user and the specified users as brainCloud friends.

ServiceOperation
friendREMOVE_FRIENDS

Method Parameters

ParameterDescription
profileIdsCollection of profile IDs.

Usage

http://localhost:3000
string[] profileIds = { "profileId1", "profileId2" };
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.FriendService.RemoveFriends(profileIds, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}