agentuity avatar

agentuity-cli-cloud-deployment-remove

Remove a specific deployment. Requires authentication. Use for Agentuity cloud platform operations

提供方 agentuity|开源

Cloud Deployment Remove

Remove a specific deployment

Prerequisites

  • Authenticated with agentuity auth login
  • cloud deploy

Usage

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:

bunx @agentuity/cli cloud deployment remove dep_abc123xyz

Remove without confirmation:

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

Remove deployment from specific project:

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

Output

Returns JSON object:

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