---
title: "ezgh deploy resources forget"
description: "Stop managing a resource, and leave it as it is."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh deploy resources forget

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh deploy resources forget <key> [--yes] [flags]
```

Part of [`ezgh deploy resources`](/cli/reference/deploy-resources).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-y`, `--yes` | boolean |  | don't ask for confirmation |

Inherited from parent commands:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dir` | string | `.` | the repository's checkout (any directory inside it) |
| `--environment` | string |  | the environment, by ID (den\_…) or name (default: the stack's environment for the checked-out branch) |
| `--json` | boolean |  | print JSON, as -o json does |
| `--stack` | string |  | the stack, by ID (dps\_…) or name (default: the checkout's EZGHDeploy name) |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/deploy-resources-forget/index.mdx
