Skip to content

Disconnect Google or Apple​

DELETE
/cognito/sign-in-methods/{provider}

Stops Google or Apple signing in to the account. A provider identity linked into another sign-in is unlinked; a sign-in the provider created that holds nothing else is deleted, and its sessions end with it. Afterwards a sign-in with that provider at the account's address is refused (/auth?error=provider_disconnected) until it is connected again from Settings. The owner is told by email and the change is audited.

Needs a sign-in session (not an API key, not an admin acting as the user). One change per account at a time: 409 SIGN_IN_METHOD_CHANGE_IN_PROGRESS. Rate limited at 30 requests/minute per account and 60 per IP.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

provider*
Type
string
Required
Valid values
"google""apple"

Responses​

Disconnected; the account's ways to sign in as they are now

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Built with VitePress