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}/hardeningOne-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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Responses
200 Status
Content type: application/json
fixesarray<object> requiredidstring requiredreversibleboolean required
atstring (date-time) requiredstatestring requiredAllowed values:"pass""fail""unknown"itemsarray<string> requirederrorstring optional
fixstring requiredapplied_atstring (date-time) requiredbystring requiredUser ID
itemstring requiredbeforestring requiredafterstring required
keep_portsarray<integer> requiredPorts 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
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required