Skip to main content
PUT
Ensure the desired routing overlay for one exact StackKit deployment and Node

Autorizaciones

Authorization
string
header
requerido

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

Encabezados

Idempotency-Key
string
requerido

Stable key for safely replaying this exact routing mutation.

Required string length: 1 - 256
If-Match
string

Optional optimistic-concurrency routing revision, for example "3".

Parámetros de ruta

id
string
requerido

Stack ID

Cuerpo

application/json
server_id
string
requerido

Exact canonical ServerRuntime target belonging to the stack and owner. For a managed lease this is the server_id exposed by the operations/ worker projection. If that read-model row is not present yet, TechStack may create only this deterministic ID from the validated exact lease.

Minimum string length: 1
mode
enum<string>
requerido
Opciones disponibles:
custom-domain
domain
string
requerido

Normalized custom domain; schemes, paths, ports, and wildcards are rejected.

Minimum string length: 1
Ejemplo:

"example.com"

provenance
object
requerido
lease_id
string

Exact RuntimeLease for a managed target. Omit for a local/Basement ServerRuntime that genuinely has no lease; invented leases are rejected.

Minimum string length: 1
ensure_rollout
boolean
predeterminado:false

Request reconciliation without implying that it has already been dispatched or applied.

Respuesta

Desired routing state persisted; no rollout was requested.

data
object
requerido
meta
object
requerido