Console users API
GET /api/v1/admin/users/{id}/detail
Section titled “GET /api/v1/admin/users/{id}/detail”GET /api/v1/admin/users/{id}/detail · operation usersIdentityDetail
Requires identity_details, identity_inventory, console_users and users:manage. Reads exact identity metadata, configured access ceiling, persisted usage and bounded target audit in one read-only repeatable-read snapshot. Limits are a separate current observation. Global users:manage is required for console users. Other identities respect live session memberships; foreign or scoped-deleted IDs return 404. No tokens, hashes or credential material. Summary and recent requests require their respective usage_analytics/request_logs flags and actions. Audit requires global audit:read plus audit_explorer. RPM and direct key/team quota projections require global rates:read/quotas:read and the corresponding operational flags; other cumulative limits may still apply. Console user names/memberships never imply inference ownership. Both from and to must be provided together, or both omitted for the previous 24 hours. Unknown, duplicate and empty query parameters return 400. Range is positive and at most 90 days. Disabled, restricted and unavailable sections are explicit; empty usage does not prove no traffic. Configured policy and feature states are informational, never an authorization grant. Cache-Control no-store.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | string, required, pattern ^[a-z][a-z0-9_-]{1,63}$ |
|
from |
query | string (date-time) | Start of the usage window shown, RFC 3339. |
to |
query | string (date-time) | End of the usage window shown, RFC 3339. |
Responses
| Status | Description | Body |
|---|---|---|
200 |
Authorized identity detail with explicit section availability and bounded metadata | application/json: IdentityDetail |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Disabled feature or identity not found within authorized scope | — |
503 |
Identity authority or requested detail section unavailable | — |
GET /api/v1/admin/users/page
Section titled “GET /api/v1/admin/users/page”GET /api/v1/admin/users/page · operation listConsoleUserInventory
Requires identity_inventory and console_users. Named console users; global administrators with users:manage only. Scope is applied before SQL count and pagination. Count/page use one repeatable-read snapshot; default ordering is created_at DESC, id DESC; sort=name selects alias for keys or name for teams/users. Sort and order are closed enums applied to the full authorized set; ties use ID in the same direction. Duplicate or unknown query parameters are rejected. Omitted status/all includes both active and disabled users. There is no deleted user status. The response indicates disabled users through disabled_at, not a derived status field. No bearer tokens or hashes. Total is the matching authorized inventory, not provider usage. Cache-Control no-store.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit |
query | integer, default 25, min 1, max 100 |
Most users on this page. |
offset |
query | integer, default 0, min 0, max 10000 |
Rows to skip before this page, for pagination. |
search |
query | string, max length 128 | |
team_id |
query | string, max length 64, pattern ^([a-z][a-z0-9_-]{1,63})?$ |
|
status |
query | string, one of "active", "disabled", "all" |
Only users in this state. |
role |
query | string, one of "admin", "viewer", "team_admin", "team_viewer", "operator", "user" |
Only users with this console role. |
sort |
query | string, one of "created_at", "name", "id", default "created_at" |
Order by creation time (default), name or ID. |
order |
query | string, one of "asc", "desc", default "desc" |
Sort direction: asc or desc. |
Responses
| Status | Description | Body |
|---|---|---|
200 |
Bounded page; truncated means additional matches exist, not authorization bypass | application/json: object |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
503 |
Identity authority or bounded inventory query unavailable | — |
Response 200 fields:
application/json: objectitems(array of ConsoleUser, required, max items 100)total(integer (int64), required, min 0)limit(integer, required, min 1, max 100)offset(integer, required, min 0, max 10000)truncated(boolean, required)
GET /api/v1/admin/scim-groups
Section titled “GET /api/v1/admin/scim-groups”GET /api/v1/admin/scim-groups · operation listSCIMGroups
Groups pushed by the identity provider with their team binding (ADR 0113). Requires scim_groups and a global administrator.
Authentication: bearerAuth
Responses
| Status | Description | Body |
|---|---|---|
200 |
{data: [{id, displayName, externalId, team_id, members}]} | — |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Not a global administrator | — |
404 |
Feature disabled | — |
PUT /api/v1/admin/scim-groups/{id}/team
Section titled “PUT /api/v1/admin/scim-groups/{id}/team”PUT /api/v1/admin/scim-groups/{id}/team · operation bindSCIMGroup
The console decision that gives a SCIM group its effect: its members get member access to the team. An empty team_id unbinds; the identity provider never sets the binding.
Authentication: bearerAuth
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | string, required |
Request body (required)
application/json: objectteam_id(string, required)
Responses
| Status | Description | Body |
|---|---|---|
200 |
Updated group | — |
403 |
Not a global administrator | — |
404 |
Unknown group or feature disabled | — |
422 |
Unknown or deleted team | — |
GET /api/v1/admin/users
Section titled “GET /api/v1/admin/users”GET /api/v1/admin/users · operation listConsoleUsers
Global administrators list named console users without token hashes or secrets. Requires console_users. With organization_admins (T168) an organization admin also may, and sees only the users of its organization.
Authentication: adminSession
Responses
| Status | Description | Body |
|---|---|---|
200 |
User metadata wrapped in data; no hashes or bearer tokens | application/json: object |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
Response 200 fields:
application/json: objectdata(array of ConsoleUser, required)
POST /api/v1/admin/users
Section titled “POST /api/v1/admin/users”POST /api/v1/admin/users · operation createConsoleUser
Global administrator (or, with organization_admins (T168), an organization admin for team-scoped roles in its own organization’s teams) creates a named user. A random token is returned once and only its SHA-256 is stored. Scoped roles require 1–20 distinct active team IDs; team_admin additionally requires team_admin_console. Global roles reject memberships.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: objectname(string, required, min length 2, max length 128)role(string, required, one of"admin","viewer","team_viewer","team_admin","operator","user","org_admin") — org_admin (T168, organization_admins) administers one organization; it takes no team_ids, its teams are the organization’s.team_ids(array of string, max items 20) — Required with 1–20 entries for scoped roles; omit or use empty array for global rolesmemberships(array of Membership, max items 20) — Optional per-team role under the membership_roles boot flag. admin is accepted only for team_admin; a member membership is read-only for that user. Omitted teams of a team_admin default to admin.organization_id(string) — T168 (organization_admins): the one organization the user belongs to; required for org_admin. Only a global admin chooses it; an organization admin’s users always get its own organization, and naming another one is refused (403 organization_forbidden). Every team must belong to it. Only team-scoped roles and org_admin carry one (400 otherwise).
Responses
| Status | Description | Body |
|---|---|---|
201 |
User metadata and once-only secret; Cache-Control no-store | application/json: object |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
Response 201 fields:
application/json: objectuser(ConsoleUser, required)secret(string, required, write-only) — Plain token returned only on creation
PUT /api/v1/admin/users/{id}
Section titled “PUT /api/v1/admin/users/{id}”PUT /api/v1/admin/users/{id} · operation updateConsoleUser
Global administrator atomically replaces name, role and memberships of an active named user. With organization_admins (T168) an organization admin may too, only for a team-scoped user stored in its organization, never itself, and only to team-scoped roles and its organization’s teams; any other target answers 404 and other changes 403 organization_forbidden. Requires the current per-user version; the same token and signed sessions immediately use the new role and memberships on their next request. No token is returned. Scoped roles require 1–20 active teams; team_admin requires team_admin_console.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | string, required, pattern ^usr_[a-f0-9]{32}$ |
|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: objectversion(integer (int64), required, min 0)name(string, required, min length 2, max length 128)role(string, required, one of"admin","viewer","team_viewer","team_admin","operator","user","org_admin")team_ids(array of string, max items 20) — Required with 1–20 entries for scoped rolesmemberships(array of Membership, max items 20) — Optional per-team role under the membership_roles boot flag. admin is accepted only for team_admin; a member membership is read-only for that user. Omitted teams of a team_admin default to admin.organization_id(string) — T168 (organization_admins): the one organization the user belongs to; required for org_admin. Only a global admin chooses it; an organization admin’s users always get its own organization, and naming another one is refused (403 organization_forbidden). Every team must belong to it. Only team-scoped roles and org_admin carry one (400 otherwise; a global role drops it). Omitted keeps the stored organization; an empty string clears it.
Responses
| Status | Description | Body |
|---|---|---|
200 |
Updated metadata and incremented version; no secret | application/json: ConsoleUser |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
User not found, disabled or scoped access feature disabled | — |
409 |
User version changed; refresh before retrying | — |
DELETE /api/v1/admin/users/{id}
Section titled “DELETE /api/v1/admin/users/{id}”DELETE /api/v1/admin/users/{id} · operation disableConsoleUser
Disable a named user, immediately invalidating its token and signed sessions. Bootstrap credentials are managed through Secrets.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | string, required, pattern ^usr_[a-f0-9]{32}$ |
|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Responses
| Status | Description | Body |
|---|---|---|
204 |
User disabled | — |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
User not found, already disabled or feature disabled | — |
POST /api/v1/admin/users/{id}/approve
Section titled “POST /api/v1/admin/users/{id}/approve”POST /api/v1/admin/users/{id}/approve · operation approveJITUser
Approve a user that a first federated login created and left pending (federated_jit). The user is enabled with the user role and no teams; teams and any other role are then assigned as for every user. With organization_admins (T168) an organization admin approves or rejects only the pending users routed to its organization by its jit_email_domains; others answer 409 jit_not_pending.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | string, required, pattern ^usr_[a-f0-9]{32}$ |
|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Responses
| Status | Description | Body |
|---|---|---|
204 |
User approved | — |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
federated_jit is disabled | — |
409 |
jit_not_pending: the user is not waiting for JIT approval | — |
503 |
Storage unavailable | — |
POST /api/v1/admin/users/{id}/reject
Section titled “POST /api/v1/admin/users/{id}/reject”POST /api/v1/admin/users/{id}/reject · operation rejectJITUser
Reject a pending JIT user. It stays disabled for good, its federated identity is never created again, and SCIM cannot reactivate it.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | string, required, pattern ^usr_[a-f0-9]{32}$ |
|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Responses
| Status | Description | Body |
|---|---|---|
204 |
User rejected | — |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
federated_jit is disabled | — |
409 |
jit_not_pending: the user is not waiting for JIT approval | — |
503 |
Storage unavailable | — |
GET /api/v1/admin/idp-team-sync
Section titled “GET /api/v1/admin/idp-team-sync”GET /api/v1/admin/idp-team-sync · operation getIdPTeamSync
T168 (idp_team_sync). Global admin reads the effective mapping of exact IdP group IDs to existing teams, its source (console, yaml or none) and the YAML base. A mapping grants member memberships tagged idp:<group> only: never a console role, never a new team.
Authentication: adminSession
Responses
| Status | Description | Body |
|---|---|---|
200 |
Mapping | application/json: IdPTeamSyncEnvelope |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
PUT /api/v1/admin/idp-team-sync
Section titled “PUT /api/v1/admin/idp-team-sync”PUT /api/v1/admin/idp-team-sync · operation putIdPTeamSync
Replace the console override of the mapping with the current version (0 before the first write). Every mapped team must be an active team now. Applied at each user’s next sign-in (source login) or SCIM group update (source scim). Audited as idp_team_sync.update.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: objectversion(integer (int64), required, min 0)source(string, one of"login","scim", default"login")oidc_groups_claim(string, default"groups")saml_groups_attribute(string, default"groups")mappings(array of IdPTeamMapping, required, max items 200)
Responses
| Status | Description | Body |
|---|---|---|
200 |
Saved; same shape as GET | application/json: IdPTeamSyncEnvelope |
400 |
Invalid input | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
409 |
Stale version | — |
DELETE /api/v1/admin/idp-team-sync
Section titled “DELETE /api/v1/admin/idp-team-sync”DELETE /api/v1/admin/idp-team-sync · operation revertIdPTeamSync
Drop the console override and follow YAML. Existing idp: memberships stay until each user’s next sync. Audited as idp_team_sync.revert.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: objectversion(integer (int64), required, min 0)
Responses
| Status | Description | Body |
|---|---|---|
200 |
Reverted; same shape as GET | application/json: IdPTeamSyncEnvelope |
400 |
Invalid input | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
409 |
Stale version | — |
POST /api/v1/admin/users/bulk
Section titled “POST /api/v1/admin/users/bulk”POST /api/v1/admin/users/bulk · operation bulkInviteUsers
Global admin previews or applies up to 200 rows as invitations, never as users with credentials. dry_run validates every row with the same rules as single invitations and reports per-row status. Apply runs only when every row is valid and requires an idempotency_key; repeating it returns existing rows without re-revealing tokens. Requires user_bulk_management.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: objectdry_run(boolean, required)idempotency_key(string, pattern^[A-Za-z0-9_-]{8,64}$)expires_in_hours(integer, min 1, max 168)rows(array of object, required, min items 1, max items 200)name(string, required)role(string, required)team_ids(array of string)memberships(array of Membership)expires_in_hours(integer, min 1, max 168)
Responses
| Status | Description | Body |
|---|---|---|
200 |
Preview or applied result with per-row status | — |
400 |
Invalid request, or apply refused because at least one row is invalid (per-row report included) | — |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
POST /api/v1/admin/users/{id}/enable
Section titled “POST /api/v1/admin/users/{id}/enable”POST /api/v1/admin/users/{id}/enable · operation enableConsoleUser
Enable a disabled console user (DELETE disables). Sessions issued before the disable stay invalid; a SCIM-managed user is refused (409 scim_managed). Requires users:manage, CSRF and reversible_disable and console_users. Audited.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
id |
path | string, required, max length 128 |
Responses
| Status | Description | Body |
|---|---|---|
204 |
Done | — |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled or not found (another organization’s object is not found) | — |
409 |
Already in that state, revoked, or YAML-owned | — |
503 |
Storage unavailable | — |
GET /api/v1/admin/oidc-providers
Section titled “GET /api/v1/admin/oidc-providers”GET /api/v1/admin/oidc-providers · operation listNamedOIDCProviders
Requires builtin global administrator and oidc_providers:manage; private/no-store. Returns explicit declared/effective/override policy and source, current durable generation, write access and public limits. No secret values or private credential fingerprints; references are admin-only. Metadata can inspect staging with runtime disabled.
Authentication: adminSession
Responses
| Status | Description | Body |
|---|---|---|
200 |
Current reviewed named-provider policy catalog. | application/json: NamedOIDCCatalog |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
409 |
Stale version/base or configuration drift; reload and review, no mutation. | — |
422 |
Invalid policy, duplicate active issuer/client, invalid local user or cross-field dependency. | — |
503 |
Current configuration, storage, or bounded admission unavailable. For a mutation returning configuration_sync_pending, the policy already committed; GET the catalog before retrying. | — |
GET /api/v1/admin/oidc-providers/{id}
Section titled “GET /api/v1/admin/oidc-providers/{id}”GET /api/v1/admin/oidc-providers/{id} · operation getNamedOIDCProvider
Requires builtin global administrator and oidc_providers:manage; private/no-store. Returns explicit declared/effective/override policy and source, current durable generation, write access and public limits. No secret values or private credential fingerprints; references are admin-only. Metadata can inspect staging with runtime disabled.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | NamedOIDCProviderID, required |
Responses
| Status | Description | Body |
|---|---|---|
200 |
Current reviewed named-provider policy catalog. | application/json: NamedOIDCDetail |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
409 |
Stale version/base or configuration drift; reload and review, no mutation. | — |
422 |
Invalid policy, duplicate active issuer/client, invalid local user or cross-field dependency. | — |
503 |
Current configuration, storage, or bounded admission unavailable. For a mutation returning configuration_sync_pending, the policy already committed; GET the catalog before retrying. | — |
PUT /api/v1/admin/oidc-providers/{id}
Section titled “PUT /api/v1/admin/oidc-providers/{id}”PUT /api/v1/admin/oidc-providers/{id} · operation replaceNamedOIDCPolicy
Requires builtin global administrator and oidc_providers:manage; private/no-store. Requires oidc_provider_management, CSRF, version/base CAS and current license write authority. Full complete five-field policy only; immutable boot trust is read-only/restart-required. DELETE reverts an existing override, never deletes a boot ID. Adoption explicitly accepts the reviewed declared base. Security changes persistently revoke affected flows/sessions; label-only changes preserve authority.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | NamedOIDCProviderID, required | |
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: NamedOIDCWrite
Responses
| Status | Description | Body |
|---|---|---|
204 |
Versioned audited mutation accepted; GET the fresh catalog. No response body. | — |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
409 |
Stale version/base or configuration drift; reload and review, no mutation. | — |
413 |
JSON exceeds1MiB. | — |
422 |
Invalid policy, duplicate active issuer/client, invalid local user or cross-field dependency. | — |
503 |
Current configuration, storage, or bounded admission unavailable. For a mutation returning configuration_sync_pending, the policy already committed; GET the catalog before retrying. | — |
DELETE /api/v1/admin/oidc-providers/{id}
Section titled “DELETE /api/v1/admin/oidc-providers/{id}”DELETE /api/v1/admin/oidc-providers/{id} · operation revertNamedOIDCPolicy
Requires builtin global administrator and oidc_providers:manage; private/no-store. Requires oidc_provider_management, CSRF, version/base CAS and current license write authority. Full complete five-field policy only; immutable boot trust is read-only/restart-required. DELETE reverts an existing override, never deletes a boot ID. Adoption explicitly accepts the reviewed declared base. Security changes persistently revoke affected flows/sessions; label-only changes preserve authority.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id |
path | NamedOIDCProviderID, required | |
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: NamedOIDCGuard
Responses
| Status | Description | Body |
|---|---|---|
204 |
Versioned audited mutation accepted; GET the fresh catalog. No response body. | — |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
409 |
Stale version/base or configuration drift; reload and review, no mutation. | — |
413 |
JSON exceeds1MiB. | — |
422 |
Invalid policy, duplicate active issuer/client, invalid local user or cross-field dependency. | — |
503 |
Current configuration, storage, or bounded admission unavailable. For a mutation returning configuration_sync_pending, the policy already committed; GET the catalog before retrying. | — |
POST /api/v1/admin/oidc-providers/adopt-base
Section titled “POST /api/v1/admin/oidc-providers/adopt-base”POST /api/v1/admin/oidc-providers/adopt-base · operation adoptNamedOIDCBase
Requires builtin global administrator and oidc_providers:manage; private/no-store. Requires oidc_provider_management, CSRF, version/base CAS and current license write authority. Full complete five-field policy only; immutable boot trust is read-only/restart-required. DELETE reverts an existing override, never deletes a boot ID. Adoption explicitly accepts the reviewed declared base. Security changes persistently revoke affected flows/sessions; label-only changes preserve authority.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: NamedOIDCGuard
Responses
| Status | Description | Body |
|---|---|---|
204 |
Versioned audited mutation accepted; GET the fresh catalog. No response body. | — |
400 |
Invalid input | application/json: Error |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
Feature disabled | application/json: Error |
409 |
Stale version/base or configuration drift; reload and review, no mutation. | — |
413 |
JSON exceeds1MiB. | — |
422 |
Invalid policy, duplicate active issuer/client, invalid local user or cross-field dependency. | — |
503 |
Current configuration, storage, or bounded admission unavailable. For a mutation returning configuration_sync_pending, the policy already committed; GET the catalog before retrying. | — |
GET /api/v1/admin/security/federated-mfa
Section titled “GET /api/v1/admin/security/federated-mfa”GET /api/v1/admin/security/federated-mfa · operation listFederatedMFA
Builtin global administrator and federated_mfa:manage required; private/no-store. Separate finite MFA catalog preserves existing OIDC/SAML management DTOs. Metadata and authorized staging/recovery remain available when federated_mfa is false. A configured runtime requirement with that flag false denies the affected login/session; it is never ignored. Policy changes monotonically fence matching flows and sessions, without reviving older cookies on restore. Current authorization and license checks apply.
Authentication: adminSession
Responses
| Status | Description | Body |
|---|---|---|
200 |
Current declared/effective/override policy, provenance, per-provider epochs, public bounds and write access. No secrets or raw authentication claims. | application/json: FederatedMFACatalog |
400 |
Malformed/noncanonical JSON, duplicate policies, invalid structural profile or bounds. | — |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
409 |
Stale version/base or drift; reload and review before mutation. | — |
422 |
Canonical policy incompatible with current provider references or configuration. | — |
503 |
Current configuration/storage/authority unavailable; deny. If configuration_sync_pending follows a committed write, GET the catalog before retrying. | — |
PUT /api/v1/admin/security/federated-mfa
Section titled “PUT /api/v1/admin/security/federated-mfa”PUT /api/v1/admin/security/federated-mfa · operation replaceFederatedMFA
Builtin global administrator and federated_mfa:manage required; private/no-store. Separate finite MFA catalog preserves existing OIDC/SAML management DTOs. Metadata and authorized staging/recovery remain available when federated_mfa is false. A configured runtime requirement with that flag false denies the affected login/session; it is never ignored. Policy changes monotonically fence matching flows and sessions, without reviving older cookies on restore. Current authorization and license checks apply. Requires same-origin CSRF, current control version and reviewed base fingerprint. PUT replaces the whole policy list, DELETE reverts an existing override, adopt-base explicitly acknowledges reviewed YAML. No provider application or local identity is provisioned. Strict JSON body limit is 256 KiB.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: FederatedMFAWrite
Responses
| Status | Description | Body |
|---|---|---|
204 |
Audited versioned mutation accepted; GET the fresh catalog. No response body. | — |
400 |
Malformed/noncanonical JSON, duplicate policies, invalid structural profile or bounds. | — |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
409 |
Stale version/base or drift; reload and review before mutation. | — |
413 |
Strict JSON request exceeds 256 KiB. | — |
422 |
Canonical policy incompatible with current provider references or configuration. | — |
503 |
Current configuration/storage/authority unavailable; deny. If configuration_sync_pending follows a committed write, GET the catalog before retrying. | — |
DELETE /api/v1/admin/security/federated-mfa
Section titled “DELETE /api/v1/admin/security/federated-mfa”DELETE /api/v1/admin/security/federated-mfa · operation revertFederatedMFA
Builtin global administrator and federated_mfa:manage required; private/no-store. Separate finite MFA catalog preserves existing OIDC/SAML management DTOs. Metadata and authorized staging/recovery remain available when federated_mfa is false. A configured runtime requirement with that flag false denies the affected login/session; it is never ignored. Policy changes monotonically fence matching flows and sessions, without reviving older cookies on restore. Current authorization and license checks apply. Requires same-origin CSRF, current control version and reviewed base fingerprint. PUT replaces the whole policy list, DELETE reverts an existing override, adopt-base explicitly acknowledges reviewed YAML. No provider application or local identity is provisioned. Strict JSON body limit is 256 KiB.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: FederatedMFAGuard
Responses
| Status | Description | Body |
|---|---|---|
204 |
Audited versioned mutation accepted; GET the fresh catalog. No response body. | — |
400 |
Malformed/noncanonical JSON, duplicate policies, invalid structural profile or bounds. | — |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
404 |
No console override to revert. | — |
409 |
Stale version/base or drift; reload and review before mutation. | — |
413 |
Strict JSON request exceeds 256 KiB. | — |
422 |
Canonical policy incompatible with current provider references or configuration. | — |
503 |
Current configuration/storage/authority unavailable; deny. If configuration_sync_pending follows a committed write, GET the catalog before retrying. | — |
POST /api/v1/admin/security/federated-mfa/adopt-base
Section titled “POST /api/v1/admin/security/federated-mfa/adopt-base”POST /api/v1/admin/security/federated-mfa/adopt-base · operation adoptFederatedMFABase
Builtin global administrator and federated_mfa:manage required; private/no-store. Separate finite MFA catalog preserves existing OIDC/SAML management DTOs. Metadata and authorized staging/recovery remain available when federated_mfa is false. A configured runtime requirement with that flag false denies the affected login/session; it is never ignored. Policy changes monotonically fence matching flows and sessions, without reviving older cookies on restore. Current authorization and license checks apply. Requires same-origin CSRF, current control version and reviewed base fingerprint. PUT replaces the whole policy list, DELETE reverts an existing override, adopt-base explicitly acknowledges reviewed YAML. No provider application or local identity is provisioned. Strict JSON body limit is 256 KiB.
Authentication: adminSession
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-CSRF-Token |
header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |
Request body (required)
application/json: FederatedMFAGuard
Responses
| Status | Description | Body |
|---|---|---|
204 |
Audited versioned mutation accepted; GET the fresh catalog. No response body. | — |
400 |
Malformed/noncanonical JSON, duplicate policies, invalid structural profile or bounds. | — |
401 |
Missing or invalid bearer key | application/json: Error |
403 |
Model not allowed | application/json: Error |
409 |
Stale version/base or drift; reload and review before mutation. | — |
413 |
Strict JSON request exceeds 256 KiB. | — |
422 |
Canonical policy incompatible with current provider references or configuration. | — |
503 |
Current configuration/storage/authority unavailable; deny. If configuration_sync_pending follows a committed write, GET the catalog before retrying. | — |