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
| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| <namespace> | string | Yes | - |
| <key> | string | Yes | - |
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"
}
| Field | Type | Description |
|-------|------|-------------|
| success | boolean | Whether the operation succeeded |
| namespace | string | Namespace name |
| key | string | Key name |
| durationMs | number | Operation duration in milliseconds |