bulk_action
Execute bulk create, update, delete, publish, or unpublish on multiple content entries with per-entry error handling so individual failures do not abort the entire batch.
Instructions
Execute a bulk operation (create, update, delete, publish, or unpublish) on multiple content entries. Processes each entry sequentially with per-entry error handling so individual failures do not abort the entire batch. Returns a detailed summary showing successes, failures, and error messages for each entry. Use this for batch imports, migrations, or mass status changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The bulk operation to perform. Must be one of: 'create', 'update', 'delete', 'publish', or 'unpublish'. Each action expects different entry data formats. | |
| entries | Yes | JSON array of entry objects. Format depends on the action: - create: [{"title": "A", ...}, {"title": "B", ...}] - update: [{"id": 1, "data": {"title": "Updated"}}, ...] - delete: [{"id": 1}, {"id": 2}, ...] or [1, 2, 3] - publish: [{"id": 1}, {"id": 2}, ...] or [1, 2, 3] - unpublish: [{"id": 1}, {"id": 2}, ...] or [1, 2, 3] | |
| content_type | Yes | Plural API ID of the content type (e.g., 'articles', 'products') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |