Reserved names
A team's reserved names — hostnames and pooled TCP/UDP ports kept for the team rather than leased to whoever connected last — their settings, and the agent credentials that open a team-held name's tunnel.
postCreate Reservation
Reserves a hostname label for the team. Labels are globally unique across the deployment and lower-cased on the way in. Fails with `already_exists` when the name is taken — including by another team, which is deliberate: the namespace is the hostname space, not a per-team one. Refused with `resource_exhausted` once the team is at its quota. Names a product manages for the team do not count towards it. Needs the editor role. **Required scopes:** `burrow:names:edit`
postCreate Reservation Credential
Mints a credential that can open the agent session for this one name and nothing else, and returns its secret once in `secret`: the narrowest unattended credential for a tunnel, for a CI deploy preview or an agent on a device. 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, and `BURROW_TOKEN=xk_… burrow http <port>` works. 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. Refused with `permission_denied` for a name a product manages (`managed_by` set): that product mints its credentials. Needs the editor role. It takes `burrow:tokens:admin`, not `burrow:names:edit`, so that no API key can reach it: a credential that can mint credentials is one that never really gets revoked. **Required scopes:** `burrow:tokens:admin`
postDelete Reservation
Releases a reserved name back to the pool, where anybody may then take it. A tunnel serving it is closed. Any custom domain pointing at it stops resolving to a tunnel. Needs the admin role, because releasing a name somebody else reserved is a team-level decision. A name a product manages (`managed_by` set) can be deleted here too: the team keeps the last word over its own names, and the managing product is expected to notice the name has gone. Its agent credentials are revoked with it. **Required scopes:** `burrow:names:admin`
postList Reservation Credentials
Lists the agent credentials of a name the team holds itself, newest first, paged with an opaque cursor. Revoked ones are left out unless `include_revoked` is set. Secrets are never returned. Refused with `permission_denied` for a name a product manages. Needs membership of the team. **Required scopes:** `burrow:names:read`
postList Reservations
Lists a team's reserved names with the team's quota, so a console can show "11 of 25" without a second call. The quota counts the whole team rather than the page. Newest first, paged with an opaque cursor over (created_at, id). **Required scopes:** `burrow:names:read`
postRevoke Reservation Credential
Revokes one agent credential of a name the team holds itself. A session it already opened is closed, and its reconnect is refused; a session another credential opened on the same name is left up. An id that is not one of this name's credentials is `not_found`. Refused with `permission_denied` for a name a product manages. Needs the editor role. Like CreateReservationCredential, it takes `burrow:tokens:admin`, which no API key carries. **Required scopes:** `burrow:tokens:admin`
postUpdate Reservation
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`
Get Me POST
Returns the authenticated caller — subject, and the email Burrow recorded when they last signed in to its console (empty for a caller it has no record of, such as a service account or an API key) — with one entry per team they may act in and the Burrow role Xeonr Auth says they hold there, and the deployment's own hostnames. An API key resolves to a single team at the one role it was minted with, and carries no email. **Required scopes:** `burrow:tunnels:read`
Create Reservation POST
Reserves a hostname label for the team. Labels are globally unique across the deployment and lower-cased on the way in. Fails with `already_exists` when the name is taken — including by another team, which is deliberate: the namespace is the hostname space, not a per-team one. Refused with `resource_exhausted` once the team is at its quota. Names a product manages for the team do not count towards it. Needs the editor role. **Required scopes:** `burrow:names:edit`