Skip to main content
PUT
Approve or withdraw automatic repair of a small safe set of controls

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

路径参数

serverId
string
必填

Canonical server runtime ID

请求体

application/json
enabled
boolean
必填
controls
enum<string>[]
可用选项:
bruteforce.fail2ban,
firewall.default_inbound,
kernel.sysctl,
updates.unattended_upgrades
expires_at
string<date-time>

响应

The approval as recorded

data
object
meta
object