Show examples in:
Javascript HTTP

Content Management API > Scheduled unpublishing

Scheduled unpublishing

You can create a scheduled unpublishing to unpublish records in the future

Object payload

id string

ID of scheduled_unpublishing

Example: "34"
type string

Must be exactly "scheduled_unpublishing".

attributes.unpublishing_scheduled_at date-time

The future date for the unpublishing

Example: "2025-02-10T11:03:42Z"
attributes.content_in_locales

List of locales whose content will be unpublished, or nil if the whole record needs to be unpublished

Type: null, Array<string>
relationships.item.data

Item

Available endpoints