microcms_patch_content_status
Change content publication status between published and draft in microCMS. Supports transitions from published to draft and vice versa.
Instructions
Change content publication status in microCMS (Management API). Can change status between PUBLISH (published) and DRAFT (draft). Note: Only transitions between "published" and "draft" are supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Target status: "PUBLISH" to publish content, "DRAFT" to set as draft | |
| endpoint | Yes | Content type name (e.g., "blogs", "news") | |
| contentId | Yes | Content ID to change status | |
| serviceId | No | Service ID (required in multi-service mode, optional in single-service mode) |