Skip to main content
Version: 5.7.0

DetachGameCenterIdentity

Detach the Game Center identity from the current profile.

ServiceOperation
identityDETACH

Method Parameters

ParameterDescription
gameCenterIdThe player's game center id (use the playerID property from the local GKPlayer 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
{
"status": 200,
"data": null
}
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.