agentuity-cli-cloud-keyvalue-delete-namespace
Delete a keyvalue namespace and all its keys. Requires authentication. Use for Agentuity cloud platform operations
When & Why to Use This Skill
The agentuity-cli-cloud-keyvalue-delete-namespace skill enables developers and DevOps teams to efficiently manage cloud resources by deleting entire Key-Value (KV) namespaces and their associated keys on the Agentuity platform. It streamlines environment maintenance and resource deprovisioning through a secure, authenticated CLI interface, ensuring that cloud storage remains organized and free of deprecated data.
Use Cases
- Automated Environment Cleanup: Use this skill within CI/CD pipelines to programmatically tear down ephemeral KV namespaces created during integration testing or staging deployments.
- Cloud Resource Optimization: Identify and remove redundant or obsolete data namespaces to reduce cloud clutter and prevent potential data management overhead.
- Development Workflow Management: Quickly reset local or shared development environments by wiping specific KV namespaces before starting a new feature branch or testing cycle.
- Data Lifecycle Enforcement: Implement data retention policies by securely deleting namespaces that are no longer required for production or compliance purposes.
| name | agentuity-cli-cloud-keyvalue-delete-namespace |
|---|---|
| description | Delete a keyvalue namespace and all its keys. Requires authentication. Use for Agentuity cloud platform operations |
| version | "0.0.104" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| argument-hint | "<name> <confirm>" |
| command | "agentuity cloud keyvalue delete-namespace" |
| tags | "destructive deletes-resource slow requires-auth requires-project" |
Cloud Keyvalue Delete-namespace
Delete a keyvalue namespace and all its keys
Prerequisites
- Authenticated with
agentuity auth login - Project context required (run from project directory or use
--project-id)
Usage
agentuity cloud keyvalue delete-namespace <name> <confirm>
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<name> |
string | Yes | - |
<confirm> |
string | Yes | - |
Examples
Delete staging namespace (interactive):
bunx @agentuity/cli kv delete-namespace staging
Delete cache without confirmation:
bunx @agentuity/cli kv rm-namespace cache --confirm
Force delete production:
bunx @agentuity/cli kv delete-namespace production --confirm
Output
Returns JSON object:
{
"success": "boolean",
"namespace": "string",
"message": "string"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the deletion succeeded |
namespace |
string | Deleted namespace name |
message |
string | Confirmation message |