Skip to main content
Unlink OAuth Identity
Unlinks an OAuth identity from the authenticated user’s account. The identity is permanently deleted, and that provider account can no longer sign in to this one. This is how a user removes a connection they don’t recognise: list them with List Identities, then unlink the one that isn’t theirs. Requires the user’s own access token; a service key is refused. The identity must belong to the authenticated user.

Headers

string
required
Bearer {accessToken} — a valid access token for the authenticated user.

Path Parameters

string
required
UUID of the identity to unlink. Retrieve identity IDs from the List Identities endpoint.

Response

204 No Content on success, with no body.

Error Responses

Returned when the identity does not exist or does not belong to the authenticated user.
Returned when this is the only identity on the account and the user has no password set. Unlinking would lock the user out. Have the user set a password or link another provider first.
A service key called this endpoint, with or without actingUserId. It needs the signed-in user’s own access token.
A user token, or a request with no credentials, sent actingUserId, even naming its own user. A user token always acts as its own user. (A service key gets the 403 above instead.)

See Also