Actions13
Article → Update
AI-generatedSummary
Update an existing article in the Strapi CMS by specifying its ID and the fields to modify.
Inputs
- Article ID (required) — The ID of the article to update.
- Update Fields — Collection of article properties to update, including title, status, abstract, publication and expiration times, various related entity IDs (channel, story, ressort, page, content type), lines target, rank, tags, owners, and channel-specific JSON properties.
Output shape
A single JSON object containing the updated article data as returned by the Strapi CMS API.
The update will apply only to the specified fields. Fields representing tags and owners accept comma-separated lists of IDs that are converted to arrays of integers. The channel properties must be provided as valid JSON object. If the channel properties field contains invalid JSON, an error will be thrown.
Examples
Example 1: Update the title and status of an article with a given ID.
Set the Article ID to the target article's ID. Under Update Fields, set 'Name' to the new article title and 'Status' to one of the available status options (editing, stuck, stopped, done, published).
Example 2: Update tags and owners of an article.
Set the Article ID to the article's ID. In Update Fields, specify 'Tag IDs' and/or 'Owner IDs' as comma-separated lists of numeric IDs (e.g., '1,2,3').