---
title: "edit the workspace's dbt warehouses"
method: POST
path: "/w/{workspace}/workspaces/edit_dbt_warehouses"
tags: ["workspace"]
---

# edit the workspace's dbt warehouses

`POST /w/{workspace}/workspaces/edit_dbt_warehouses`

## Path parameters

- `workspace` string, required

## Request body

- object
  - `dbt_warehouses` DbtWarehouses — Warehouses a dbt project may run against, by name. `main` is the one a project gets when its descriptor names none. Each entry points at a resource; it never holds credentials.

## Response `200`

status

- unknown

## Changes

- **2026-08-01** `33c26da1e324` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/workspaces/edit_dbt_warehouses/post.md)

---

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