Saltar al contenido principal
POST
Start, stop or restart one service unit through the server's kombify Guard

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

Idempotency-Key
string
requerido
Required string length: 1 - 128

Parámetros de ruta

serverId
string
requerido

Canonical server runtime ID

Cuerpo

application/json
unit
string
requerido

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>
requerido
Opciones disponibles:
start,
stop,
restart

Respuesta

The governed action card, admitted and running

data
object
meta
object