Layerbeat

Disconnect a sign-in provider

DELETE
/v1/auth/social/{provider}/connection

Disconnects Google or GitHub from your account.

Access: User session and a sign-in within the last 15 minutes. API keys are not supported.

Authorization

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.

Path Parameters

provider*string

The fixed supported identity provider.

Value in"google""github"

Response Body

This user's provider connection was removed.

curl -X DELETE 'https://layerbeat.com/v1/auth/social/google/connection'
Empty