Disconnect an OAuth provider from the authenticated member.
DELETE
/account/security/oauth/{provider}
const url = 'https://api.siteqwality.com/account/security/oauth/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.siteqwality.com/account/security/oauth/example \ --header 'Authorization: Bearer <token>'github returns 404 until Branch C lands the GitHub OAuth integration.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” provider
required
string
OAuth provider id (currently “google”)
Responses
Section titled “ Responses ”Provider disconnected
Media type application/json
object
ok
required
boolean
Example generated
{ "ok": true}Missing or invalid authentication
Endpoint requires a user session
Provider not connected, or not supported yet
Internal server error
Stytch API call failed