الانتقال إلى المحتوى الرئيسي
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