Skip to Content
Xeonr Developer Docs
API Specification

Custom domains

Custom hostnames pointed at a reserved name, proven by a TXT record that is re-checked for as long as the domain stays.

postCreate Domain

Registers a hostname against one of the team's reserved names and returns the TXT and CNAME records to add. Nothing is served until VerifyDomain succeeds. Refuses a hostname already under the deployment's own wildcard — that is a reservation, not a custom domain. Refused with `permission_denied` against a name a product manages: its domains are added through that product. Needs the admin role. **Required scopes:** `burrow:domains:admin`

postDelete Domain

Removes the hostname and its route. The certificate is left to expire. Works on a domain a product manages too: deleting stays with the team's admins. Needs the admin role. **Required scopes:** `burrow:domains:admin`

postList Domains

Lists a team's custom domains with the DNS records each one needs, so the console can show the setup instructions for an unverified domain without a second call. Newest first, paged with an opaque cursor over (created_at, id). **Required scopes:** `burrow:domains:read`

postVerify Domain

Checks the TXT record, and on success creates the route that puts the hostname in front of the gateway and starts certificate issuance. Answers `failed_precondition` while the record is absent or wrong — DNS propagation means calling it again shortly is the expected thing to do. Neither Get nor Mark: the server does the lookup and the caller is told what it found, so the verb is the action rather than a read or an assertion. Refused with `permission_denied` for a domain a product manages. Needs the admin role. **Required scopes:** `burrow:domains:admin`