Cloud Deployment Rollback
Rollback the latest to the previous deployment
Prerequisites
- Authenticated with
agentuity auth login
- cloud deploy
Usage
agentuity cloud deployment rollback [options]
Options
| Option |
Type |
Required |
Default |
Description |
--project-id |
string |
Yes |
- |
Project ID |
Examples
Rollback to previous deployment:
bunx @agentuity/cli cloud deployment rollback
Rollback specific project:
bunx @agentuity/cli cloud deployment rollback --project-id=proj_abc123xyz
Output
Returns JSON object:
{
"success": "boolean",
"projectId": "string",
"targetDeploymentId": "string"
}
| Field |
Type |
Description |
success |
boolean |
Whether the rollback succeeded |
projectId |
string |
Project ID |
targetDeploymentId |
string |
Deployment ID that was rolled back to |