Web UI

Update Api Key

Update the Moorcheh API key from the Web UI. Expects: {"api_key": "new-key-value", "current_key": "existing-key"}

When a key is already configured, the caller must supply the correct current_key to authorize the replacement. This prevents a loopback attacker (e.g. via DNS rebinding) from silently swapping credentials.

put/api/ui/api-key

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

object required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 46 revisions of this API.