Create Token
Creates a key owned by the team and returns its secret in token_secret. That is the only time the value exists — Xeonr Auth keeps only its hash — so there is no method that can return it again.
The role is capped at editor whatever is asked for, and becomes the key's burrow scopes. Needs the admin role.
Required scopes: burrow:tokens:admin
Authorization
BearerAuth A Xeonr Auth access token whose audience is this API, or a team API
key (xk_…), presented as Authorization: Bearer ….
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
length <= 128Name is for whoever finds it in six months. Empty becomes "untitled".
length <= 128Role is capped at editor; anything above it is silently lowered rather than refused, because the caller asking for admin wanted a working credential and this is the strongest one that exists.
"ROLE_UNSPECIFIED" | "ROLE_VIEWER" | "ROLE_EDITOR" | "ROLE_ADMIN"Description is for whoever finds the key later; optional.
length <= 512ExpiresAt is when the key stops working; unset means never.
date-timeResponse Body
application/json
application/json
curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.TokenService/CreateToken" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"token": "map[createdAt:2026-09-02T10:00:00Z createdBy:urn:xeonr:auth:uid:user:3 description:Brings up preview tunnels from the staging deploy pipeline expiresAt:2027-09-02T00:00:00Z id:urn:xeonr:auth:api-key:7e0c1e52-3a0d-4a0a-9b2e-2f0f7a1b9c3d keyPrefix:4fK9pQ2z name:ci-staging-deploys role:ROLE_EDITOR scopes:[burrow:names:edit burrow:tunnels:read]]",
"tokenSecret": "xk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}API keys
Team API keys (`xk_…`): Xeonr Auth API keys owned by the team, carrying one team and a role capped at editor. Admin only, and not callable with an API key.
Delete Token POST
Revokes a key. Anything presenting it is unauthenticated within 30 seconds — the verifier's cache TTL. Needs the admin role. **Required scopes:** `burrow:tokens:admin`