---
title: "Update Content Document"
method: PUT
path: "/api/domains/{domain_id}/content-system/documents/{document_id}"
tags: ["content_system"]
---

# Update Content Document

`PUT /api/domains/{domain_id}/content-system/documents/{document_id}`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/content-system/documents/{document_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

## Path parameters

- `document_id` string, required
- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- DocumentUpdateIn
  - `slug` string, nullable
  - `title` string, nullable
  - `meta_description` string, nullable
  - `markdown_content` string, required
  - `page_type` string, nullable
  - `topics` string[], nullable
  - `priority` integer, nullable
  - `summary` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
