agentuity avatar

agentuity-cli-cloud-keyvalue-delete

Delete a key from the keyvalue storage. Requires authentication. Use for Agentuity cloud platform op

提供方 agentuity|开源

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

agentuity cloud keyvalue delete <namespace> <key>

Arguments

ArgumentTypeRequiredDescription
<namespace>stringYes-
<key>stringYes-

Examples

Delete user data:

bunx @agentuity/cli kv delete production user:123

Delete cached session:

bunx @agentuity/cli kv delete cache session:abc

Delete homepage cache (using alias):

bunx @agentuity/cli kv rm staging cache:homepage

Output

Returns JSON object:

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