Stacks

Rollback stack

Restores the stack to its previous deployment state. Requires Pro license and stack:deploy permission.

post/api/stacks/{stackName}/rollback

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

Stack rolled back.

messagestring required

Changes