method
RiduClient.deletePermanent
Permanently delete one trashed document and its retained state.
Arguments
| Argument | Type | Description |
|---|---|---|
collection | Slug | The collection value. |
id | string | The id value. |
options | MutationLocaleOptions< | The 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>Related types
MutationLocaleOptionsLocale and transport options shared by mutations without an optimistic-concurrency contract.
DeleteEnvelopeA successful delete response.