---
title: "Delete environment variable"
method: DELETE
path: "/v1/vaults/{vault_id}/env-vars/{key}"
tags: ["Environment Variables"]
---

# Delete environment variable

`DELETE /v1/vaults/{vault_id}/env-vars/{key}`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/vaults/{vault_id}/env-vars/{key}`
- Auth: HTTP bearer

## Path parameters

- `vault_id` string, uuid, required
- `key` string, required

## Query parameters

- `environment` string

## Response `204`

Deleted

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
