Update a demo base stack
Change the mutable designation of a demo base stack: profile, profile version, parameters, and idle TTL. The name (and thus the namespace) is immutable and ignored here; an omitted profile_id keeps the current profile. Changes are refused while the stack is deploying or deleting, and take effect on the next materialisation. Organisation-admin only; browser session authentication with the X-Ankra-CSRF double-submit header (no bearer twin).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
The update payload of a demo base stack. name is immutable and ignored here; an omitted profile_id keeps the current profile.
Response
The base stack after the write
One shared demo base stack: an organisation-level stack-profile designation that materialises lazily as a persistent stack in a stable ankra-demo-base-* namespace on the staging cluster. Status is one of: configured (saved, never materialised), deploying, ready, failed, deleting, deleted.
The number of non-destroyed demos referencing this base stack; deletion is refused while it is non-zero.
configured, deploying, ready, failed, deleting, deleted Idle hours after which the maintainer loop tears the stack down; null disables the idle TTL.
Denormalized onto reads only (never persisted).
Null tracks the profile's current version.