principals
Resolve Principal
Resolve a principal by email or provider_subject without creating one.
Lookup order:
- If email is provided, match on (org_id, email, status=active) ordered by last_seen DESC NULLS LAST.
- If no email match (or email was not provided), and provider_subject is provided, match on (org_id, provider_subject, status=active) optionally scoped by identity_provider_id.
Returns 404 with an actionable message when no active principal is found.
post/api/principals/resolve
Request
- Base URL: https://www.gateco.ai (the document declares no server; this is the origin it was published from)
- URL: https://www.gateco.ai/api/principals/resolve
- Auth: OAuth 2 (password, token URL /api/auth/login)
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.