StatsHub Docs
APIAPI v2V2 endpoint referenceAdmin

/admin/bot-routing

PUT
/admin/bot-routing

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/admin/bot-routing" \  -H "Content-Type: application/json" \  -d '{    "superadmin_default_target": "string",    "workers_force_prod": true  }'
{  "superadmin_default_target": "string",  "updated": true,  "workers_force_prod": true}