bulk_update_content
Update multiple content items simultaneously in LightCMS. Modify titles, tags, metadata, or clear fields for up to 100 items per batch operation.
Instructions
Update up to 100 content items in a single call. Use instead of calling update_content in a loop.
Each update in the array specifies the content ID and only the fields you want to change (merge semantics on data). Use clear_fields to explicitly clear field values to empty string. Set dry_run: true to validate all IDs exist without committing changes.
Returns: total attempted, succeeded, failed counts, and per-item success/error details.
Tip: call list_content with include_data: true first to get IDs + current field values, transform as needed, then submit here. Recommended batch size: up to 50 per call for optimal performance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, validate all IDs exist without saving | |
| updates | Yes | Array of content updates (max 100),required | |
| version_comment | No | Version comment applied to all updates |