---
title: "Update one plain-text company document"
method: PATCH
path: "/api/v1/company/documents/{slug}"
tags: ["company"]
---

# Update one plain-text company document

`PATCH /api/v1/company/documents/{slug}`

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/company/documents/{slug}`
- Auth: HTTP bearer

## Path parameters

- `slug` string, required

## Query parameters

- `brain_id` string, nullable

## Request body

- CompanyDocumentUpdate
  - `content` string, required: Plain text; the UI enforces no markdown.

## Response `200`

Successful Response

- CompanyDocumentRead
  - `slug` string, required
  - `title` string, required
  - `description` string
  - `content` string
  - `updated_at` string, nullable

## Other responses

- `401`: Missing or invalid Supabase bearer token.
- `404`: The requested resource was not found.
- `422`: Validation Error

---

[API](https://skmtc.dev/cadencz/apis/cadencz-api.md) · [All operations](https://skmtc.dev/cadencz/apis/cadencz-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencz/apis/cadencz-api/revisions/3392fe5e93db?raw)
