method

RiduClient.scheduleUnpublish

Schedule a versioned collection document to unpublish at a future instant.

Arguments

ArgumentTypeDescription
collectionSlugThe collection value.
idstringThe id value.
runAtstring | DateThe runAt value.
optionsPublicationScheduleOptions | undefinedThe 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>

Source packages/sdk/src/types.ts:1376

Related types