method

RiduClient.deletePermanent

Permanently delete one trashed document and its retained state.

Arguments

ArgumentTypeDescription
collectionSlugThe collection value.
idstringThe id value.
optionsMutationLocaleOptions<LocaleFor<Config>> | undefinedThe options value.

Returns

The declared result.

Promise<DeleteEnvelope>

How it works

TrashCollectionSlug is an internal capability-filtered union of generated collection slugs whose contract enables trash; it is not a separate SDK export.

Full signature

RiduClient.deletePermanent<Slug extends TrashCollectionSlug<Config>>( collection: Slug, id: string, options?: MutationLocaleOptions<LocaleFor<Config>>, ): Promise<DeleteEnvelope>

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

Related types