method
LocalAPI.DeletePermanentWithOptions
func (local *LocalAPI) DeletePermanentWithOptions(
ctx context.Context,
collection,
id string,
options MutationOptions,
) (store.Document, error)Permanently delete a trashed document with exact actor controls.
Reconciles current incoming references, removes framework-owned state, and coordinates upload-object deletion. Retained external owners may restrict the operation.
Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
MutationOptionsAuthorization, optimistic concurrency, response population, create status, and locale controls for one write.
DocumentA stored document with status and version metadata.