Update a container
Starts updating a running container to a new version, configuration, or host. A container that cannot run beside its new version is replaced and needs confirm_downtime; plan the update to see which applies.
Authorizations
Body
All fields are optional; omitted fields keep the container's current values.
Names of Tinfoil-managed secrets to attach. Omitted or null keeps the saved selection; a list replaces it, and secrets the config declares that exist in repository or organization scope are added. Non-debug private keyserver delivery requires an empty list, and private secret names supplied as variables are rejected.
Move a running container to this host without downtime. Must be the only change in the request. Only containers that update blue/green, do not use the HTTP certificate challenge, and are on a host that supports handover can move; otherwise the request returns 409 with code MOVE_UNAVAILABLE, and the container must be stopped and deployed with host_name.
Hold the new version for review instead of switching traffic. Omitted inherits the project's hold_by_default. Available only for blue/green updates; otherwise the request returns 400 with code HOLD_UNAVAILABLE. An explicit value applies to this update only and does not change the project setting.
Response
The container with its update in progress.
A container, Bunker or Monitor.
Whether an update boots a candidate alongside the running container (blue_green) or must stop it first (replace), causing downtime. Derived from the saved configuration; an update's target release may require a different strategy, which the update plan reports.
blue_green, replace