agentuity-cli-cloud-storage-delete

agentuity 的头像作者 agentuity

删除存储资源或文件。需要身份验证。用于Agentuity云平台操作

📖 中文导读:删除存储资源或文件。需要身份验证。用于Agentuity云平台操作 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

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]" metadata: 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-id or 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