Skip to main content
Version: 6.0.0

DetachGameCenterIdentity

Detach the Game Center identity from the current profile.

ServiceOperation
identityDETACH

Method Parameters

ParameterDescription
gameCenterIdThe user's Game Center ID — can be the PlayerId, GamePlayerId, or TeamPlayerId from the GKLocalPlayer object
continueAnonProceed even if the profile will revert to anonymous?

Usage

http://localhost:3000
string gameCenterId = "someId";

_bc.IdentityService.DetachGameCenterIdentity(
gameCenterId,
true,
SuccessCallback, FailureCallback);
JSON Response
{
"data": null,
"status": 200
}
Common Error Code

Status Codes

CodeNameDescription
40210DOWNGRADING_TO_ANONYMOUS_ERROROccurs when detaching the last non-anonymous identity from an account with continueAnon set to false.