Skip to main content
Version: 5.7.0

Detach

Detaches an identity from the current profile.

ServiceOperation
identityDETACH

Method Parameters

ParameterDescription
externalIdUser ID
authenticationTypeType of authentication. Full list of types can be found here.
confirmAnonymousIf false will generate an error when downgrading to anonymous (null is false)

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
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.