unpublish_entry
Take a live content entry offline by reverting it to draft status. The entry data is preserved for future re-publication.
Instructions
Unpublish a live content entry, reverting it to draft status so it is no longer publicly visible. On Strapi v5, uses the dedicated unpublish action endpoint; on v4, sets publishedAt to null. The entry data is preserved and can be re-published later with publish_entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Locale of the entry to unpublish (e.g., 'en', 'fr'). Only needed for i18n-enabled types. | |
| entry_id | Yes | Numeric ID of the entry to unpublish | |
| content_type | Yes | Plural API ID of the content type (e.g., 'articles', 'products') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |