Rollback Branch
Roll back a branch to a previous version by branch ID.
Key behavior:
- EnvVar table is NOT modified (remains pending state)
- Uses Version.secrets_snapshot as deployed state
POST
Rollback Branch
Path Parameters
Body
application/json
Request model for rolling back a branch.
Version ID to rollback to (defaults to previous version if not specified)
Response
Successful Response
Response from a rollback operation.
Branch ID
Git hash of the previous version
Version ID that was rolled back FROM
Human-readable status message
Git hash of the target version
Version ID that was rolled back TO
Target version status
Available options:
DEPLOYING, ACTIVE, FAILED, UNHEALTHY, DRAINING, RETIRED, ROLLED_BACK Rollback Branch