dashboard

Api Restart Agent

Restart the SentinelX agent on a host (owner-only).

Low-risk: a restart just re-reads the existing config — it changes no permissions and touches no allowlist. It's how a config edit takes effect. Only the session cookie is required (no arm token): restarting can't escalate anything on its own.

The agent restarts itself, so its WebSocket drops mid-command and the call raises a disconnect. That's the EXPECTED success signal, not a failure — the agent reconnects to the hub on its own within seconds.

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

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}/restart
  • Auth: none declared

Path parameters

host_idstring required

Cookies

sentinelx_dash_sessionstring nullable

Response

Successful Response

unknown required

Changes

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