dashboard

Api Write Config

Write a new config.yaml to a host. Requires session + arm token.

Two independent authorizations are required:

  1. A valid session cookie (proves WHO you are).
  2. A valid config-edit arm token for THIS host (proves a deliberate, recent intent to edit — a stolen cookie alone can't get here).

The write itself validates YAML, backs up the current file, and only then replaces it — all server-side on the host, via script_run.

post/dashboard/api/hosts/{host_id}/config

Request

  • Base URL: https://mcp.sentinelx.app (the document declares no server; this is the origin it was published from)
  • URL: https://mcp.sentinelx.app/dashboard/api/hosts/{host_id}/config
  • Auth: none declared

Path parameters

host_idstring required

Cookies

sentinelx_dash_sessionstring nullable

Request body

contentstring required
tokenstring required

config-edit arm token

Response

Successful Response

unknown required

Changes

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