AgentSkillsCN

agentuity-cli-cloud-deployment-remove

移除特定部署。需进行身份验证。可用于 Agentuity 云平台的运维操作。

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-deployment-remove
description: Remove a specific deployment. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<deployment_id>"
metadata:
  command: "agentuity cloud deployment remove"
  tags: "destructive deletes-resource slow requires-auth requires-deployment"

Cloud Deployment Remove

Remove a specific deployment

Prerequisites

  • Authenticated with agentuity auth login
  • cloud deploy

Usage

bash
agentuity cloud deployment remove <deployment_id> [options]

Arguments

ArgumentTypeRequiredDescription
<deployment_id>stringYes-

Options

OptionTypeRequiredDefaultDescription
--project-idstringYes-Project ID
--forcebooleanNofalseForce removal without confirmation

Examples

Remove with confirmation:

bash
bunx @agentuity/cli cloud deployment remove dep_abc123xyz

Remove without confirmation:

bash
bunx @agentuity/cli cloud deployment remove dep_abc123xyz --force

Remove deployment from specific project:

bash
bunx @agentuity/cli cloud deployment remove deployment-2024-11-20 --project-id=proj_abc123xyz

Output

Returns JSON object:

json
{
  "success": "boolean",
  "projectId": "string",
  "deploymentId": "string"
}
FieldTypeDescription
successbooleanWhether the removal succeeded
projectIdstringProject ID
deploymentIdstringDeployment ID that was removed