method

RiduClient.bulkDelete

Delete or trash an explicit set of document IDs.

Arguments

ArgumentTypeDescription
collectionSlugThe collection value.
idsreadonly string[]The ids value.
optionsMutationLocaleOptions<LocaleFor<Config>> | undefinedThe options value.

Returns

The declared result.

Promise<OutputFor<Config, Slug>[]>

Full signature

RiduClient.bulkDelete<Slug extends CollectionSlug<Config>>( collection: Slug, ids: readonly string[], options?: MutationLocaleOptions<LocaleFor<Config>>, ): Promise<OutputFor<Config, Slug>[]>

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

Related types