跳转到主要内容
POST
Start, stop or restart one service unit through the server's kombify Guard

授权

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.

请求头

Idempotency-Key
string
必填
Required string length: 1 - 128

路径参数

serverId
string
必填

Canonical server runtime ID

请求体

application/json
unit
string
必填

One service unit name, for example the unit a process reports.

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_.@-]{0,118}\.service$
action
enum<string>
必填
可用选项:
start,
stop,
restart

响应

The governed action card, admitted and running

data
object
meta
object