Skip to Content
Xeonr Developer Docs
API SpecificationManaged names

Create Managed Domain

POST
/xeonr.burrow.v1.ManagedReservationService/CreateManagedDomain

Registers a hostname against a name the calling product manages and returns the TXT and CNAME records to add. Nothing is served until VerifyManagedDomain succeeds. The domain is managed by the same product.

Delegated tokens only. The person needs the editor role: proof of control is the TXT record, and the domain can only point at the product's own name.

Required scopes: burrow:managed:edit

Authorization

BearerAuth
AuthorizationBearer <token>

A Xeonr Auth access token whose audience is this API, or a team API key (xk_…), presented as Authorization: Bearer ….

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

team?string
Lengthlength <= 128
reservation?string

Reservation is the managed name this hostname serves, by id or by name.

Length1 <= length <= 128
domain?string
Match^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$
Length3 <= length <= 253
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.ManagedReservationService/CreateManagedDomain" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "domain": "map[cnameTarget:edge.brw.xnr.app createdAt:2026-10-01T08:15:00Z domain:home.example.com id:e2a7c9f1-4b6d-4e8a-9c1f-5a7b9d1e3f46 managedBy:hacloud reservationId:c8e1f4a2-6b3d-4f7e-9a0c-3d5e7f9b1a28 reservationName:ha-7f3c2a team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60 txtName:_burrow-challenge.home.example.com txtValue:burrow-verify-8c2e4a6f1b3d5c7e9a0b2d4f6a8c1e3b verified:false]"
}

Create Agent Credential POST

Mints a credential that can open the agent session for this one name and nothing else, and returns its secret once in `secret`. It is a Xeonr Auth API key (`xk_…`) owned by the reservation, so it dies with it. An agent presents it as `Authorization: Bearer xk_…` on the agent WebSocket, exactly where a CLI token goes. Registered with it, the tunnel always serves this name, with this name's policy and capture mode: the name, team, protocol and policy the agent sends are ignored or must match. It is refused on every control-plane method. Delegated tokens only, for names the calling product manages. The person needs the editor role. **Required scopes:** `burrow:managed:edit`

Create Managed Port Lease POST

Takes a port from Burrow's shared TCP/UDP pool and pins it to a TCP or UDP name the calling product manages, for as long as the name exists: the stable `(host, port, protocol)` a workload is given, which survives the workload's restarts and its agent's reconnects. An agent serving the name — with the name's agent credential — is always given this port. The lease records the product as `managed_by`. Idempotent: a name that already holds a port answers with that port. `failed_precondition` for an HTTP name, `resource_exhausted` when every port in the pool is held. The port goes back to the pool when the name is released, by the product or by a team admin, or with DeleteManagedPortLease. Delegated tokens only. The person needs the editor role. **Required scopes:** `burrow:managed:edit`