method
RiduClient.bulkUnpublish
Unpublish an explicit set of draft-enabled documents.
Arguments
| Argument | Type | Description |
|---|---|---|
collection | Slug | The collection value. |
ids | readonly string[] | The ids value. |
options | MutationLocaleOptions< | The options value. |
Returns
The declared result.
Promise<OutputFor<Config, Slug>[]>Full signature
RiduClient.bulkUnpublish<Slug extends DraftCollectionSlug<Config>>(
collection: Slug,
ids: readonly string[],
options?: MutationLocaleOptions<LocaleFor<Config>>,
): Promise<OutputFor<Config, Slug>[]>Related types
DraftCollectionSlugCollection slugs with the generated drafts capability.
MutationLocaleOptionsLocale and transport options shared by mutations without an optimistic-concurrency contract.
OutputForResolve a collection document output type.