OUTCOME · Revise and reconcile
What changes
Updates only the allowlisted login policy fields and version accepted by the authoritative owner; it grants no adjacent authority.
v2Identity sessions and federation
/api/v2/admin/identity/login-policyPURPOSE + BUSINESS CONTEXT
WHEN THIS CALL IS USEFUL
Call this when an identity, compliance, relying-party, or trust agent workflow needs to apply the documented login policy transition after re-reading the current authoritative state so it can make a purpose-limited identity or assurance decision with current policy and lifecycle state.
OUTCOME · Revise and reconcile
Updates only the allowlisted login policy fields and version accepted by the authoritative owner; it grants no adjacent authority.
WHY IT MATTERS
ISOLATION + AUTHORITY
Bearer subject, tenant, purpose, policy version, role, issuer, reviewer, provider, and relying-party boundaries remain distinct. The response or transition grants no payment, custody, settlement, publisher, matching, or trading authority and must not expose regulated evidence beyond the live schema.
BEFORE YOU CALL
WHAT TO DO NEXT
AGENT GUIDANCE
The exact deployed parameters, schemas, responses, security requirements, and Hybrid-Chain agent metadata are authoritative at this operation's production OpenAPI JSON Pointer. The readable tables below add integration guidance; the deployed OpenAPI controls if guidance and the machine contract ever differ.
Open the authoritative production contract ↗EXTENDED INTEGRATION GUIDANCE
Examples illustrate integration intent; the referenced OpenAPI operation and component schemas define the executable shape.
PARAMETERS
AuthorizationheaderRequiredBearer tokenCredential containing the admin:identity:write scope.EXAMPLEBearer hc_live_…
tenant_uuidbodyRequiredidentifierTenant policy boundary.
policybodyRequiredobjectBoolean login-method, linking, and recovery policy.
step_up_tokenbodyRequiredhcsu_ purpose-bound tokenFresh authorization for LOGIN_POLICY_UPDATE.
REQUEST
{
"tenant_uuid": "workspace-01",
"policy": {
"password_enabled": true,
"passkey_enabled": false,
"google_enabled": false,
"apple_enabled": false,
"github_enabled": true,
"account_linking_enabled": true,
"self_service_recovery_enabled": true
},
"step_up_token": "hcsu_…"
}RESPONSES
{
"tenant_uuid": "workspace-01",
"version": 4,
"password_enabled": true,
"providers": {
"github": {
"configured": true,
"enabled": true,
"effective": true
}
}
}{
"code": "invalid_security_request",
"message": "The policy would cause lockout or enables an unconfigured provider."
}invalid_security_request{
"code": "invalid_credentials",
"message": "The bearer credential is invalid."
}invalid_credentials{
"code": "step_up_required",
"message": "Administrator authority and fresh LOGIN_POLICY_UPDATE step-up are required."
}step_up_required{
"code": "identity_security_unavailable",
"message": "Identity policy is unavailable."
}identity_security_unavailableOPERATIONAL NOTES
This route is implemented in canonical gateway source and appears in the production OpenAPI snapshot observed 2026-09-11T06:35:11.572Z. Authentication, tenant, feature, venue, and market policy still apply.
Verify the exact production OpenAPI operation ↗Return to the V2 directory ↗