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

Autorisierungen

Authorization
string
header
erforderlich

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

Header

Idempotency-Key
string
erforderlich

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".

Pfadparameter

id
string
erforderlich

Stack ID

Body

application/json
server_id
string
erforderlich

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>
erforderlich
Verfügbare Optionen:
custom-domain
domain
string
erforderlich

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

Minimum string length: 1
Beispiel:

"example.com"

provenance
object
erforderlich
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
Standard:false

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

Antwort

Desired routing state persisted; no rollout was requested.

data
object
erforderlich
meta
object
erforderlich