---
title: "DELETE /v1/projects/{projectOrProductUID}/environment_variables/{key}"
method: DELETE
path: "/v1/projects/{projectOrProductUID}/environment_variables/{key}"
tags: ["project"]
---

# DELETE /v1/projects/{projectOrProductUID}/environment_variables/{key}

`DELETE /v1/projects/{projectOrProductUID}/environment_variables/{key}`

Delete an environment variable of a project by key

## Path parameters

- `projectOrProductUID` string, required
- `key` string, required

## Response `200`

The response body from an environment variables request.

- EnvironmentVariables
  - `environment_variable_notes` object — Optional per-variable annotations, keyed by variable name. Setting a key to an empty string removes its note. A 400 error is returned for any key that does not already exist as a stored variable and is not included in environment_variables in the same request.
  - `environment_variables` object, required

## Other responses

- `default` — The response body in case of an API error.

---

[API](https://skmtc.dev/blues/apis/notehub-api.md) · [All operations](https://skmtc.dev/blues/apis/notehub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/blues/notehub-api/revisions/eaadb187dfae/schema)
