Sofa
Admin

Toggle update checks

Enable or disable automatic update checks against the public API.

PUT
/admin/update-check
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

enabled*boolean

Whether automatic update checks are enabled

Response Body

curl -X PUT "http://localhost:3000/api/v1/admin/update-check" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
Empty