cURL
curl --request DELETE \ --url https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities/:identityId \ --header 'Authorization: <authorization>'
{ "success": true }
Remove a linked OAuth identity from the current user
Bearer {accessToken}
true
Identity Not Found — 404
{ "error": "Identity not found", "code": "oauth/identity-not-found" }
Last Identity — 400
{ "error": "Cannot unlink the last identity. Set a password first or link another provider.", "code": "oauth/last-identity" }
User Not Found — 404
{ "error": "User not found", "code": "oauth/user-not-found" }
useOAuthIdentities