Merge a duplicate principal into the current one
Consolidate a duplicate principal (source) into the one this session belongs to (target). Possession proof of BOTH sides: this session with a fresh passkey step-up (principal.merge; the action-bound elevation binds to source_principal_id), plus a live source-session token authenticated within the last 10 minutes. Phase 1 requires an authority-empty source (no active org memberships, project grants, or siwx authenticators). Atomically re-points active authenticators + verified emails to the target, revokes the source's sessions (revoked_reason=merged), disables the source with merge traceability, and writes a principal.merge audit row in the same transaction.
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/agent/v1/control-plane/merge
- Auth: none declared
Request body
Response
Merged { status, source_principal_id, moved, revoked_source_sessions, note }
Changes
No recorded changes to this operation across all 1 revision of this API.