unlink
client.unlink({
accessToken: string,
identityId: string,
// Optional fields
fields: string,
})
About this command
Unlink social account from the current user. Return the updated user.
| If this is the only method of authentication for the user, the user profile is deleted. |
Examples
client.unlink({
accessToken: 'eyJ0eXAiOiJKV1QiL...',
identityId: 'facebook:123456789...'
})
Parameters
The authorization credential JSON Web Token (JWT) used to access the ReachFive API, less than five minutes old. |
|
The identity ID to remove. |
|
The user fields to fetch in the response. Defaults to |