Branches
Rollback Environment
Roll back an environment to a previous version.
Resolves environment to branch via branch rules.
Only works for environments with a single, literal branch rule (no wildcards).
Key behavior:
- EnvVar table is NOT modified (remains pending state for next deploy)
- Uses Version.secrets_snapshot as deployed state
post/agents/{namespace_slug}/{agent_name}/environments/{env_name}/rollback
Path parameters
namespace_slugstring required
agent_namestring required
env_namestring required
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.