跳转到主要内容
PUT
Confirm or correct how available the server is

授权

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
class
enum<string> | null
必填

always-on or part-time confirms; unknown or null withdraws the confirmation.

可用选项:
always-on,
part-time,
unknown,
null

响应

The availability after the change

data
object
meta
object