BitRouterBitRouter.
Get API Key
Management

Delete a namespace and cascade its resources

Ownership-checked. Refuses the caller's last namespace (409). Destroys the namespace's keys, OAuth tokens/clients, and policies; archives the row; detaches usage history. The wallet and BYOK keys (user-keyed) are retained.

Requires the namespace:write scope.

DELETE
/v1/namespaces/{nsid}

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.

Response Body

application/json

application/json

application/json

application/json

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

How is this guide?