agentuity-cli-cloud-storage-delete
Delete a storage resource or file. Requires authentication. Use for Agentuity cloud platform operations
When & Why to Use This Skill
The agentuity-cli-cloud-storage-delete skill enables seamless management of cloud storage lifecycles by allowing users to programmatically delete storage buckets and individual files on the Agentuity platform. It streamlines cloud resource cleanup and data maintenance through a secure CLI interface, featuring safety-first options like dry-runs and confirmation prompts to prevent accidental data loss.
Use Cases
- Automated Resource Cleanup: Integrate into CI/CD pipelines to automatically remove temporary storage buckets or staging files after build or deployment tasks are completed.
- Data Hygiene & Compliance: Efficiently delete outdated or sensitive files from cloud storage to maintain organized environments and adhere to data retention policies.
- Environment Decommissioning: Speed up the teardown of development or testing environments by bulk-deleting associated storage resources via automated scripts.
- Interactive Resource Management: Use the CLI's interactive mode to browse and select specific storage resources for deletion during manual maintenance sessions.
| name | agentuity-cli-cloud-storage-delete |
|---|---|
| description | Delete a storage resource or file. Requires authentication. Use for Agentuity cloud platform operations |
| version | "0.0.103" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| argument-hint | "[name] [filename]" |
| command | "agentuity cloud storage delete" |
| tags | "destructive deletes-resource slow requires-auth requires-deployment" |
Cloud Storage Delete
Delete a storage resource or file
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud storage delete [name] [filename] [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<name> |
string | No | - |
<filename> |
string | No | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--confirm |
boolean | Yes | - | Skip confirmation prompts |
Examples
Delete a storage bucket:
bunx @agentuity/cli cloud storage delete my-bucket
Delete a file from a bucket:
bunx @agentuity/cli cloud storage rm my-bucket file.txt
Interactive selection to delete a bucket:
bunx @agentuity/cli cloud storage delete
Dry-run: show what would be deleted without making changes:
bunx @agentuity/cli --dry-run cloud storage delete my-bucket
Output
Returns JSON object:
{
"success": "boolean",
"name": "string"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether deletion succeeded |
name |
string | Deleted bucket or file name |