---
title: "Update Workspace Document Settings"
method: PATCH
path: "/v1/workspaces/{workspace_id}/document-settings"
tags: ["day-ones"]
---

# Update Workspace Document Settings

`PATCH /v1/workspaces/{workspace_id}/document-settings`

## 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}/document-settings`
- Auth: HTTP bearer

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- UpdateWorkspaceDocumentSettings
  - `firm_name` string, required
  - `firm_address` FirmAddressInput, required
    - `line_1` string, required
    - `line_2` string, nullable
    - `suburb` string, nullable
    - `state` string, nullable
    - `postcode` string, nullable
    - `country` string
  - `firm_phone` string, nullable
  - `firm_email` string, nullable
  - `firm_website` string, nullable
  - `afsa_tools_of_trade_limit` string, decimal, nullable
  - `afsa_vehicle_limit` string, decimal, nullable
  - `afsa_credit_limit` string, decimal, nullable
  - `afsa_default_remuneration` string, decimal, nullable
  - `expected_version` integer, required

## Response `200`

Successful Response

- WorkspaceDocumentSettings
  - `firm_name` string, required
  - `firm_address` FirmAddressOutput, required
    - `line_1` string, required
    - `line_2` string, nullable, required
    - `suburb` string, nullable, required
    - `state` string, nullable, required
    - `postcode` string, nullable, required
    - `country` string, required
  - `firm_phone` string, nullable, required
  - `firm_email` string, nullable, required
  - `firm_website` string, nullable, required
  - `afsa_tools_of_trade_limit` string, decimal, nullable, required
  - `afsa_vehicle_limit` string, decimal, nullable, required
  - `afsa_credit_limit` string, decimal, nullable, required
  - `afsa_default_remuneration` string, decimal, nullable, required
  - `version` integer, required
  - `updated_at` string, date-time, 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)
