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.
Identity sessions and federation
/api/v2/admin/identity/login-policyPurpose and usage
Publish tenant login-method policy with administrator authority and purpose-bound step-up authorization.
When to use it
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
Use the deployed OpenAPI for exact parameters, schemas and security requirements. The tables below provide integration guidance.
Open this operation in OpenAPIRequest and response
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-10-02T23:27:55.510Z. Authentication, tenant, feature, venue, and market policy still apply.
Verify the exact production OpenAPI operation Return to the V2 directory