Skip to Content
Xeonr Developer Docs

EnsurePortLease

POST
/xeonr.burrow.v1.ManagedProvisioningService/EnsurePortLease

EnsurePortLease pins the reservation's public TCP/UDP port indefinitely.

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

teamUrn?string
Length1 <= length <= 128
externalId?string
Length1 <= length <= 192
requestId?string
Length1 <= length <= 128
expectedRevision?|
Formatint64
Range0 < value
operationUrn?string
Lengthlength <= 192
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.ManagedProvisioningService/EnsurePortLease" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "lease": {
    "port": "20431",
    "team": "urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60",
    "subject": "urn:xeonr:auth:uid:user:3",
    "target": "tcp:5432",
    "name": "pg-staging",
    "pinned": "true",
    "expiresAt": "2026-10-29T09:30:00Z",
    "managedBy": "container-platform"
  },
  "hostname": "string",
  "port": 0,
  "protocol": "string",
  "revision": 0
}