method

RiduClient.deletePermanent

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

Permanently delete one trashed document and its retained state.

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

@param collection
The collection value.
@param id
The id value.
@param options
The options value.
@returns
The declared result.

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

Related types