Skip to main content
PATCH
Update a native knowledge article (ADMIN only)

承認

X-API-Key
string
header
必須

API key created via the Admina admin panel (Settings → API Keys → Create). Format: mb_live_<40-hex>.

パスパラメータ

docId
string
必須
Minimum string length: 1
Pattern: ^(?:[a-z0-9-]+(?:\/[a-z0-9-]+)*\.(?:md|txt))$|^(?:[a-f0-9]{32})$

ボディ

application/json
content
string
Required string length: 1 - 1048576
title
string
Required string length: 1 - 200
folderId
string | null

null moves the document to the root.

Minimum string length: 1
tags
string[]

Normalised server-side: trimmed, empties dropped, deduped. [] clears the tags.

Maximum array length: 20
Maximum string length: 50
expectedUpdatedAt
string<date-time>

Optimistic concurrency: the updatedAt you read. A mismatch returns 409.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$

レスポンス

The updated article

ok
boolean
必須
article
object
必須
最終更新日 2026年10月7日