---
title: "Delete Variable"
method: DELETE
path: "/v1/accounts/{account_id}/environments/{environment_id}/variables"
tags: ["Variables"]
---

# Delete Variable

`DELETE /v1/accounts/{account_id}/environments/{environment_id}/variables`

## Request

- Base URL: `https://api.rivery.io`
- URL: `https://api.rivery.io/v1/accounts/{account_id}/environments/{environment_id}/variables`
- Auth: HTTP bearer

**Authorization scope:** `variables:edit` 
 
 **Delete existing variables by environment**

## Path parameters

- `account_id` string, required
- `environment_id` string, required

## Query parameters

- `variable_key` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

> 653 revisions in range; 2 not diffed.

- **2026-10-24** `00b90942c8d6`: 1 info
  - endpoint added
- **2026-10-24** `0a8241f415c4`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/rivery/apis/boomi-data-integration-api/changes/v1/accounts/:account_id/environments/:environment_id/variables/delete.md)

---

[API](https://skmtc.dev/rivery/apis/boomi-data-integration-api.md) - [All operations](https://skmtc.dev/rivery/apis/boomi-data-integration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rivery/apis/boomi-data-integration-api/revisions/be61db4edcc4?raw)
