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

# Remove an environment variable

> Delete an environment variable from one environment of an app.

> Reintersect apps are in developer preview. Names and limits can still change before general
> release.

Authenticate with a member API key of the app's owner or of a workspace owner or admin, a deploy
token for this app, or an agent builder token for an app the member owns. Any other caller gets
`ReintersectAppNotFoundError`.

## Path

| Parameter | Description |
| - | - |
| `appId` | The app. |
| `target` | `preview` or `production`. |
| `key` | A letter or `_`, then up to 63 letters, digits or `_`. |

## Response

`{ key, target, runtimeWarning }`.

## Errors

| `_tag` | Status | Cause |
| - | - | - |
| `ReintersectAppNotFoundError` | 404 | No such app, or you may not manage it. |
| `ReintersectAppDeployTargetForbiddenError` | 403 | The credential may not change production. |
| `ReintersectAppEnvVarNotFoundError` | 404 | No such variable. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.