---
title: "Delete Environment"
method: DELETE
path: "/v1/accounts/{account_id}/environments/{environment_id}"
tags: ["Environments"]
---

# Delete Environment

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

**Authorization scope:** `environment:delete` 
 
 **Delete Environment**

## Path parameters

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

## Response `200`

Successful Response

- OperationResponse — Operation properties to return.
  - `operation_id` string, required — The ID of the operation
  - `operation_type` string, required — The type of the operation
  - `run_id` string, required — The run id of the operation
  - `last_update_date` string, date-time, required — The date time in UTC timezone of the last update
  - `status` 'W' | 'E' | 'R' | 'D', required — The status of the pull request that we use in the back, and expose in the API
  - `result` string, nullable — The result of the operation
  - `error_message` string, nullable — The error message of the operation

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/rivery/apis/boomi-data-integration-api.md) · [All operations](https://skmtc.net/rivery/apis/boomi-data-integration-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivery/boomi-data-integration-api/revisions/cc19ddc41c6e/schema)
