---
title: "Update Matter Folder Policy"
method: PUT
path: "/v1/workspaces/{workspace_id}/matter-defaults/folder-policy"
tags: ["matter-settings"]
---

# Update Matter Folder Policy

`PUT /v1/workspaces/{workspace_id}/matter-defaults/folder-policy`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/workspaces/{workspace_id}/matter-defaults/folder-policy`
- Auth: HTTP bearer

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- MatterFolderPolicyCommand
  - `expected_version` integer, required
  - `connection_id` string, uuid, nullable
  - `selection_ref` string, nullable
  - `scaffold_paths` string[]
  - `enabled` boolean
  - `confirm_route_remap` boolean

## Response `200`

Successful Response

- MatterFolderPolicySummary
  - `workspace_id` string, uuid, required
  - `configured` boolean, required
  - `enabled` boolean, required
  - `root_display_name` string, nullable, required
  - `root_relative_path` string, nullable, required
  - `scaffold_paths` string[], required
  - `version` integer, required
  - `can_manage` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
