Replace the admin_auth chain at runtime, dry-run guarded (the calling credentials must hold full scope under the NEW chain, else 409). Live until the next reload/restart

Changed on
put/api/v1/admin/admin-auth

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header x-admin-token
    • HTTP bearer

Headers

If-Matchstring

Optimistic concurrency: the resource's ETag from a prior read (or the ETag returned by the previous mutation). Stale = 409 version_conflict (re-read and retry), nothing changes; absent or * = unconditional.

Request body

admin_authstring[] required

The ordered admin auth module chain. Empty is the explicit open dev posture.

Response

The resource + apply metadata: {configured, modules, applied, config_version, note}

appliedboolean required
config_versioninteger required
configuredboolean required
modulesstring[] required
notestring required

Changes

    • breaking

      added required request body

    • info

      api operation id PutAdminAuth was added

    • info

      added the non-success response with the status