Skip to Content
Xeonr Developer Docs
API SpecificationLeases

List Port Leases

POST
/xeonr.burrow.v1.LeaseService/ListPortLeases

Lists the pool ports a team is currently holding, whether or not a tunnel is up on them. TCP and UDP tunnels draw from one pool, so a held port covers both.

Furthest expiry first, paged with an opaque cursor over (expires_at, port).

Required scopes: burrow:names:read

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
cursor?string

Cursor is opaque, empty for the first page.

Lengthlength <= 512
limit?integer

Limit is clamped to 500; zero means the default of 50.

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.LeaseService/ListPortLeases" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "portLeases": [
    "map[expiresAt:2026-10-29T09:30:00Z pinned:false port:20431 subject:urn:xeonr:auth:uid:user:3 target:tcp:5432 team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60]",
    "map[managedBy:hacloud name:ha-7f3c2a pinned:true port:20017 subject:urn:xeonr:auth:uid:user:3 target:udp:8123 team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60]"
  ],
  "nextCursor": "MTc5MjY2NjIwMDAwMDAwMDAwMHw1YjJkN2MxZQ"
}