---
name: agentuity-cli-cloud-keyvalue-delete
description: Delete a key from the keyvalue storage. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.2"
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"
enabled: false
source: github:diegosouzapw/awesome-omni-skill
imported-from: github:diegosouzapw/awesome-omni-skill
---

# 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

| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| `<namespace>` | string | Yes | - |
| `<key>` | string | Yes | - |

## 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"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `success` | boolean | Whether the operation succeeded |
| `namespace` | string | Namespace name |
| `key` | string | Key name |
| `durationMs` | number | Operation duration in milliseconds |
