Ferndesk

Update an article

Updates an article. Metadata and placement apply immediately; content edits are staged into an open draft you publish separately.

PATCH /v1/articles/{id}
Bearer token scope content:write

Path parameters

· 1
id string required

Identifier of the requested resource.

Body

required application/json
title string · min length: 1

New title, staged into an open draft.

content any

New body as a Tiptap document, staged into an open draft; not accepted alongside markdown.

markdown string

New body as Markdown, staged into an open draft; not accepted alongside content.

collectionId string | null

Collection to file the article under, applied immediately.

sectionId string

Section to file the article under, applied immediately.

keywords string

Comma-separated SEO keywords.

metaDescription string

SEO meta description.

ogImage string

Open Graph image URL.

Responses