argocd-app Verified for current stable LTS

Argocd App Command: Rollback Application

An engineer would use the "argocd app rollback {{app_name}} {{history_id}} --prune" command when needing to revert an application to a previous stable state during a deployment failure, while also ensuring that any resources associated with the newer version are cleaned up. Exact CLI syntax to rollback application using Argocd App.

When to use this: An engineer would use the "argocd app rollback {{app_name}} {{history_id}} --prune" command when needing to revert an application to a previous stable state during a deployment failure, while also ensuring that any resources associated with the newer version are cleaned up.

Command Syntax

argocd app rollback <app_name> <history_id> --prune

Command Breakdown

--prune
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to rollback application using Argocd App.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Argocd App directory