agentuity-cli-cloud-env-delete
Delete an environment variable. Requires authentication. Use for Agentuity cloud platform operations
When & Why to Use This Skill
The agentuity-cli-cloud-env-delete skill enables developers and DevOps engineers to programmatically remove environment variables from the Agentuity cloud platform. By providing a secure, authenticated CLI interface for configuration management, this skill helps maintain clean infrastructure states, improves security by removing sensitive or obsolete data, and integrates seamlessly into automated cloud maintenance workflows.
Use Cases
- Cleanup of legacy feature flags: Automatically remove deprecated configuration keys that are no longer needed in the production or staging environments.
- Security and Credential Rotation: Programmatically delete old or compromised API keys and secrets as part of a security audit or automated rotation process.
- Automated Environment Teardown: Integrate into CI/CD pipelines to wipe specific environment variables during the decommissioning of temporary development or testing environments.
- Project Configuration Management: Efficiently manage large-scale cloud projects by removing redundant variables to prevent configuration drift.
| name | agentuity-cli-cloud-env-delete |
|---|---|
| description | Delete an environment variable. Requires authentication. Use for Agentuity cloud platform operations |
| version | "0.0.104" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| argument-hint | "<key>" |
| command | "agentuity cloud env delete" |
| tags | "destructive deletes-resource slow requires-auth requires-project" |
Cloud Env Delete
Delete an environment variable
Prerequisites
- Authenticated with
agentuity auth login - Project context required (run from project directory or use
--project-id)
Usage
agentuity cloud env delete <key>
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<key> |
string | Yes | - |
Examples
Delete item:
bunx @agentuity/cli env delete OLD_FEATURE_FLAG
Delete item:
bunx @agentuity/cli env rm PORT
Output
Returns JSON object:
{
"success": "boolean",
"key": "string",
"path": "string"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the operation succeeded |
key |
string | Environment variable key that was deleted |
path |
string | Local file path where env var was removed |