---
title: "Delete dbt environment"
method: DELETE
path: "/api/v1/connections/{connectionId}/dbt/environments/{environmentId}"
tags: ["Connections"]
---

# Delete dbt environment

`DELETE /api/v1/connections/{connectionId}/dbt/environments/{environmentId}`

Delete a dbt environment from a connection.

## Path parameters

- `connectionId` string, uuid, required — Connection ID
- `environmentId` string, uuid, required — Environment ID

## Response `200`

dbt environment deleted successfully

- DbtEnvironmentDeleteResponse
  - `message` string, required — Confirmation message
  - `success` boolean, required — Whether the deletion was successful

## Other responses

- `401` — Authentication required
- `403` — Permission denied or connection does not support dbt
- `404` — Connection or environment not found

---

[API](https://skmtc.net/omniapp/apis/omni-api.md) · [All operations](https://skmtc.net/omniapp/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omniapp/omni-api/versions/de7cac8b5983/schema)
