Auth

Unlink a connected OAuth identity

Hosted browser-session route (cookie + double-submit CSRF + same-origin), freshness-gated (5-min step-up). Removes a linked OAuth identity (provider + provider subject) from the signed-in account and rotates other sessions on the change.

post/auth/account/identities/unlink

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/account/identities/unlink
  • Auth: API key in cookie __Host-Http-r402_session

Request body

providerstring required
subjectstring required

The provider's subject id (provider_sub) of the identity to unlink.

Response

{ ok, unlinked }

object required

Changes

No recorded changes to this operation across all 1 revision of this API.