admin

Update one setting (Admin+recentMFA); typed reason + expected-version CAS; a root-of-trust key is refused 403; a stale version is 409 VERSION_CONFLICT with the current value attached and writes nothing

patch/api/v1/admin/settings/{key}

Request

  • Base URL: https://amplerun-api.spiry.org
  • URL: https://amplerun-api.spiry.org/api/v1/admin/settings/{key}
  • Auth: HTTP bearer

Path parameters

keystring required

Headers

Idempotency-Keystring uuid required
Example:3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40

UUID scoped to authenticated principal, route and canonical request hash.

Request body

valueunknown required
reasonstring required
expected_versioninteger required

Response

Written. The new version.

keystring required
versioninteger required

Changes

No recorded changes to this operation across all 1 revision of this API.