---
title: "Update workspace base configuration"
method: PUT
path: "/settings/workspaces/{workspaceName}/base-config"
tags: ["settings"]
---

# Update workspace base configuration

`PUT /settings/workspaces/{workspaceName}/base-config`

Updates the workspace-scoped base DAG configuration YAML. Validates before saving. Requires write access to the workspace.

## Path parameters

- `workspaceName` string, required — Workspace name. The reserved names all and default are not allowed.

## Query parameters

- `remoteNode` string

## Request body

- object
  - `spec` string, required — The workspace base configuration in YAML format

## Response `200`

Workspace base configuration updated successfully

- object
  - `errors` string[], required — List of validation warnings

## Other responses

- `400` — Invalid configuration
- `401` — Not authenticated
- `403` — Insufficient permissions
- `404` — Workspace not found
- `default` — Unexpected error

## Changes

- **2026-05-24** (v1) `8a2d5d3e9608` — 5 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `400`
  - added the new `rate_limited` enum value to the `code` response property for the response status `401`
  - added the new `rate_limited` enum value to the `code` response property for the response status `403`
  - added the new `rate_limited` enum value to the `code` response property for the response status `404`
  - …1 more
- **2026-05-06** (v1) `cc0e168f1571` — 1 info
  - endpoint added
- **2026-04-30** (v1) `50e1d517afc1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/settings/workspaces/:workspaceName/base-config/put.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/8a2d5d3e9608/schema)
