Cloud Machine Delete
Delete an organization managed machine
Prerequisites
- •Authenticated with
agentuity auth login - •Organization context required (
--org-idor default org)
Usage
bash
agentuity cloud machine delete <machine_id> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<machine_id> | string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--confirm | boolean | No | false | Skip confirmation prompt |
Examples
Delete a machine (with confirmation):
bash
bunx @agentuity/cli cloud machine delete mach_abc123xyz
Delete a machine without confirmation:
bash
bunx @agentuity/cli cloud machine delete mach_abc123xyz --confirm
Output
Returns JSON object:
json
{
"success": "boolean",
"machineId": "string"
}
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the deletion succeeded |
machineId | string | The deleted machine ID |