BitRouterBitRouter.
Get API Key
Management

Park a routing preset without deleting it

Stamps disabled_at = now(). The resolver skips disabled presets when selecting a preset per-request; the management surface still surfaces them so an operator can re-enable. Idempotent — re-disabling returns 200. Responds with the updated envelope carrying disabled_at.

Requires the routing_preset:write scope.

POST
/v1/namespaces/{nsid}/routing-presets/{id}/disable

Authorization

x-api-key<token>

Anthropic-style API key header.

In: header

Path Parameters

nsid*string

Id of the target namespace. Must be owned by the caller (or equal a namespace-baked credential's own namespace), else 404.

id*string

Surrogate id of the routing_presets row.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.bitrouter.ai/v1/namespaces/string/routing-presets/string/disable"
{
  "disabled_at": "2019-08-24T14:15:22Z",
  "id": "string",
  "model": "string",
  "name": "string",
  "params": {},
  "routing": null,
  "system_prompt": "string"
}
{
  "error": null
}
{
  "error": null
}
{
  "error": null
}

How is this guide?