Auth

Unlink one of the Bearer actor's OAuth identities

Machine route (apikey + user Bearer). Requires auth_time within 5 minutes. Removes the actor-owned OAuth identity selected by provider and provider subject, then revokes all browser sessions when a row was removed. The caller cannot supply a user id and a service-role token is rejected.

post/auth/v1/account/identities/unlink

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/v1/account/identities/unlink
  • Auth: API key in header apikey and HTTP bearer

Request body

providerstring required
subjectstring required

Provider subject id; use provider_sub from an account identity read.

Response

Identity unlink result; unlinked is false when the actor owns no matching identity.

oktrue required
unlinkedboolean required

Changes

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