AgentSkillsCN

agentuity-cli-cloud-env-delete

删除一个环境变量或秘密。需要认证。用于Agentuity云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-env-delete
description: Delete an environment variable or secret. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.11"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<key>"
metadata:
  command: "agentuity cloud env delete"
  tags: "destructive deletes-resource slow requires-auth requires-project"

Cloud Env Delete

Delete an environment variable or secret

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)

Usage

bash
agentuity cloud env delete <key>

Arguments

ArgumentTypeRequiredDescription
<key>stringYes-

Examples

Delete variable:

bash
bunx @agentuity/cli env delete OLD_FEATURE_FLAG

Delete a secret:

bash
bunx @agentuity/cli env rm API_KEY

Output

Returns JSON object:

json
{
  "success": "boolean",
  "key": "string",
  "path": "string",
  "secret": "boolean"
}
FieldTypeDescription
successbooleanWhether the operation succeeded
keystringVariable key that was deleted
pathstringLocal file path where variable was removed
secretbooleanWhether a secret was deleted