Schedule publishing and unpublishing of a language variant
Schedule and reschedule the publish and unpublish dates of a language variant. If the language variant has already been scheduled for publishing or unpublishing, it will be rescheduled to the specified dates.
- The API follows the workflow transition restrictions based on the variant's workflow. This means you can schedule the variant (that is, move the variant to the Scheduled step) only if the workflow allows you to.
- Scheduling a published language variant has no effect.
- Scheduling an unpublish date works only when the variant is published or scheduled for publishing.
If you need to directly publish or unpublish the variant, you need to use a different endpoint to publish a variant or unpublish a variant. Similarly, if you need to cancel the existing (un)publishing schedules, use other endpoints to cancel scheduled publishing or cancel scheduled unpublishing.
Request Body
{"publish_scheduled_to"=>"<dateTime>", "display_timezone"=>"<string>", "unpublish_scheduled_to"=>"<dateTime>"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |