Stacks
Pull and recreate stack
Pulls latest images and recreates containers (docker compose pull && up -d). On Pro tier, uses atomic update with automatic rollback on failure. Requires stack:deploy permission.
post/api/stacks/{stackName}/update
Path parameters
stackNamestring required
Example:my-stack
Stack directory name (URL-encoded if it contains special characters).
Headers
x-node-idinteger
Example:1
Target a specific node by ID. If omitted, the default node is used. Can also be passed as ?nodeId= query parameter.
Response
Update completed.
Example response
{
"status": "Update completed"
}