method
RiduClient.scheduleUnpublish
Schedule a versioned collection document to unpublish at a future instant.
Arguments
| Argument | Type | Description |
|---|---|---|
collection | Slug | The collection value. |
id | string | The id value. |
runAt | string | | The runAt value. |
options | PublicationScheduleOptions | | The options value. |
Returns
The declared result.
Promise<ScheduledPublication>Full signature
RiduClient.scheduleUnpublish<Slug extends DraftCollectionSlug<Config>>(
collection: Slug,
id: string,
runAt: string | Date,
options?: PublicationScheduleOptions,
): Promise<ScheduledPublication>Related types
DraftCollectionSlugCollection slugs with the generated drafts capability.
PublicationScheduleOptionsRevision fence and display timezone for a scheduled publication change.
ScheduledPublicationA durable scheduled-publication job returned by publishing methods.