v4

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-279228.8 KB
Admin User

Set auth enabled

Enables or disables authentication enforcement for the server. When auth is disabled, endpoints that normally require access tokens or JWT authorization can be called without credentials.

Requires an admin JWT in the Authorization header.

patch/auth/enabled

Headers

Authorizationstring required

Admin JWT. Format Bearer <admin-jwt>.

Request body

enabledboolean required

Set to true to enable authentication, false to disable it.

Response

Auth setting updated. The result field reflects the current auth-enabled state after the update.

usageobject nullable
timenumber double

Time spent to process this request, in seconds.

statusstring
resultboolean

The current auth-enabled state after the update.