# Agentuity CLI Cloud Env Delete

> Delete an environment variable. Requires authentication. Use for Agentuity cloud platform operations

- Skill: `majiayu000/agentuity-cli-cloud-env-delete` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/agentuity-cli-cloud-env-delete`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/agentuity-cli-cloud-env-delete/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- License: Apache-2.0
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/agentuity-cli-cloud-env-delete

---


# 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

```bash
agentuity cloud env delete <key>
```

## Arguments

| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| `<key>` | string | Yes | - |

## Examples

Delete item:

```bash
bunx @agentuity/cli env delete OLD_FEATURE_FLAG
```

Delete item:

```bash
bunx @agentuity/cli env rm PORT
```

## Output

Returns JSON object:

```json
{
  "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 |

