API referenceSections

One-click security fixes of a server, its last deep check and what can be undone

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/servers/{id}/hardening

One-click security fixes of a server, its last deep check and what can be undone (ADR 0111); provider administrators only

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 Status

Content type: application/json

  • fixes array<object> required
    • id string required
    • reversible boolean required
  • scan HardeningScan | null required
    • at string (date-time) required
    • checks map<string, HardeningCheck> required
      • state string required
        Allowed values: "pass" "fail" "unknown"
      • items array<string> required
      • error string optional
  • undo array<HardeningUndo> required
    • fix string required
    • applied_at string (date-time) required
    • by string required

      User ID

    • changes array<HardeningChange> required
      • item string required
      • before string required
      • after string required
  • keep_ports array<integer> required

    Ports the firewall fix always allows besides RDP and SSH

Example
{
  "fixes": [
    {
      "id": "string",
      "reversible": true
    }
  ],
  "scan": {
    "at": "2026-01-01T00:00:00Z",
    "checks": {
      "key": {
        "state": "pass",
        "items": [
          "string"
        ],
        "error": "string"
      }
    }
  },
  "undo": [
    {
      "fix": "string",
      "applied_at": "2026-01-01T00:00:00Z",
      "by": "string",
      "changes": [
        {
          "item": "string",
          "before": "string",
          "after": "string"
        }
      ]
    }
  ],
  "keep_ports": [
    0
  ]
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required