Cloud Sandbox Snapshot Delete
Delete a snapshot
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud sandbox snapshot delete <snapshotId> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<snapshotId> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--confirm |
boolean | No | false |
Skip confirmation prompt |
Examples
Delete a snapshot:
bunx @agentuity/cli cloud sandbox snapshot delete snp_abc123
Delete without confirmation prompt:
bunx @agentuity/cli cloud sandbox snapshot rm snp_abc123 --confirm
Output
Returns JSON object:
{
"success": "boolean",
"snapshotId": "string",
"message": "string"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the operation succeeded |
snapshotId |
string | Deleted snapshot ID |
message |
string | Status message |