Skip to Content
Xeonr Developer Docs
API SpecificationManaged names

Create Managed Reservation

POST
/xeonr.burrow.v1.ManagedReservationService/CreateManagedReservation

Reserves a hostname label in the team, managed by the calling product, and optionally registers a custom domain against it in the same call. Labels are globally unique and lower-cased on the way in; a taken name is already_exists.

Not counted against the team's reserved-name quota. Capture mode defaults to full, as everywhere else; a product that should not keep bodies sets metadata or off here.

Delegated tokens only, from a product Burrow knows. The person needs the editor role in the team.

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

Team URN or slug; empty picks the person's only team.

Lengthlength <= 128
name?string

Name is the hostname label. One DNS label: lower-case letters, digits and hyphens, not starting or ending with one.

Match^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
Length1 <= length <= 63
protocol?string

Protocol defaults to HTTP when unspecified.

Value in"PROTOCOL_UNSPECIFIED" | "PROTOCOL_HTTP" | "PROTOCOL_TCP" | "PROTOCOL_UDP"
targetPort?integer

TargetPort is the local port an agent should default to for this name.

Rangevalue <= 65535
policy?string

Policy is the access-policy document. Empty means the deployment default.

Lengthlength <= 16384
captureMode?string

CaptureMode is how much of each request is kept in the history. Unspecified means full, the deployment default.

Value in"CAPTURE_MODE_UNSPECIFIED" | "CAPTURE_MODE_FULL" | "CAPTURE_MODE_METADATA" | "CAPTURE_MODE_OFF"
retentionDays?integer

RetentionDays is how long captured traffic is kept, clamped to the deployment maximum. Zero means the deployment default.

Rangevalue <= 365
domain?string

Domain, when set, registers this custom hostname against the new name in the same call; the response carries the records to add. Verify it with VerifyManagedDomain once they are in place.

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/CreateManagedReservation" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "reservation": "map[captureMode:CAPTURE_MODE_METADATA createdAt:2026-10-01T08:15:00Z createdBy:urn:xeonr:auth:uid:user:3 id:c8e1f4a2-6b3d-4f7e-9a0c-3d5e7f9b1a28 managedBy:hacloud name:ha-7f3c2a policy:{\"routes\":[{\"match\":\"/*\",\"allow\":[{\"kind\":\"team\"}]}]} protocol:PROTOCOL_UDP retentionDays:7 targetPort:8123 team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60 updatedAt:2026-10-22T09:30:00Z]",
  "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]"
}