Skip to main content
Version: 5.7.0

DetachPeer

Detaches a peer identity from the current profile.

ServiceOperation
identityDETACH_PEER

Method Parameters

ParameterDescription
peerIdentifies the peer of the profile you wish to detach

Usage

http://localhost:3000
string peer = "test";
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.IdentityService.DetachPeer(peer, successCallback, failureCallback);
JSON Response
{
"status" : 200,
"data" : {
"profileId" : "1234-1234-1234-1234"
}
}