Disconnect a sign-in provider
DELETE
Disconnects Google or GitHub from your account.
Access: User session and a sign-in within the last 15 minutes. API keys are not supported.
- Keep a password or another enabled sign-in provider. You cannot remove the last usable login method.
- Browser requests need the Layerbeat origin and
X-CSRF-Token.
cookie
__Host-layerbeat-session<token>Secure HttpOnly same-origin browser session. Cookie-authenticated writes also require an exact Origin and X-CSRF-Token copied from __Host-layerbeat-csrf. Loopback development uses layerbeat.session and layerbeat.csrf.
provider*stringThe fixed supported identity provider.
Value in
"google""github"This user's provider connection was removed.
curl -X DELETE 'https://layerbeat.com/v1/auth/social/google/connection'Empty