AgentSkillsCN

agentuity-cli-cloud-keyvalue-delete

从键值存储中删除键。需要身份验证。用于Agentuity云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-keyvalue-delete
description: Delete a key from the keyvalue storage. Requires authentication. Use for Agentuity cloud platform operations
version: "0.0.110"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<namespace> <key>"
metadata:
  command: "agentuity cloud keyvalue delete"
  tags: "destructive deletes-resource slow requires-auth"

Cloud Keyvalue Delete

Delete a key from the keyvalue storage

Prerequisites

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

Usage

bash
agentuity cloud keyvalue delete <namespace> <key>

Arguments

ArgumentTypeRequiredDescription
<namespace>stringYes-
<key>stringYes-

Examples

Delete user data:

bash
bunx @agentuity/cli kv delete production user:123

Delete cached session:

bash
bunx @agentuity/cli kv delete cache session:abc

Delete homepage cache (using alias):

bash
bunx @agentuity/cli kv rm staging cache:homepage

Output

Returns JSON object:

json
{
  "success": "boolean",
  "namespace": "string",
  "key": "string",
  "durationMs": "number"
}
FieldTypeDescription
successbooleanWhether the operation succeeded
namespacestringNamespace name
keystringKey name
durationMsnumberOperation duration in milliseconds