Skip to Content
Xeonr Developer Docs
API SpecificationReserved names

Update Reservation

POST
/xeonr.burrow.v1.ReservationService/UpdateReservation

Changes a reserved name's traffic retention. Refused with permission_denied for a name a product manages (managed_by set): change it through that product. Only the fields present in update_mask are written, so a client that knows about one setting cannot blank another it has never heard of.

Retention is clamped to the deployment maximum rather than refused. Shortening it takes effect on the next merge for records already written, which means data already past the new window goes soon after — that is the point of shortening it, and it is not reversible. Needs the editor role.

Required scopes: burrow:names: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 id or the name, as DeleteReservation accepts.

Length1 <= length <= 128
updateMask?string

UpdateMask names the fields to write. A request naming nothing is invalid_argument rather than a no-op that looks like it worked.

retentionDays?integer

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

Rangevalue <= 365
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.ReservationService/UpdateReservation" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "reservation": "map[captureMode:CAPTURE_MODE_FULL createdAt:2026-09-14T11:02:00Z createdBy:urn:xeonr:auth:uid:user:3 id:5b2d7c1e-9a4f-4e3b-8c6d-2f1a0b9e7d34 name:checkout policy:{\"routes\":[{\"match\":\"POST /webhooks/*\",\"allow\":[{\"kind\":\"public\"}]},{\"match\":\"/*\",\"allow\":[{\"kind\":\"team\"}]}]} protocol:PROTOCOL_HTTP retentionDays:14 targetPort:3000 team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60 updatedAt:2026-10-22T09:30:00Z]"
}