BitRouterBitRouter.
Get API Key
Management

Delete a budget and its bindings

Refuses to delete a row whose kind is not budget (returns 404). Bindings on the row cascade via the same path as the generic delete.

Requires the policy:write scope.

DELETE
/v1/namespaces/{nsid}/budgets/{id}

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 policies row.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.bitrouter.ai/v1/namespaces/string/budgets/string"
{
  "deleted": true
}
{
  "error": null
}
{
  "error": null
}
{
  "error": null
}

How is this guide?