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.

Source core/local.go:664

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

Reconciles current incoming references, removes framework-owned state, and coordinates upload-object deletion. Retained external owners may restrict the operation.

Related types

  • LocalAPI

    In-process content operations that share the REST authorization and lifecycle pipeline.

  • MutationOptions

    Authorization, optimistic concurrency, response population, create status, and locale controls for one write.

  • Document

    A stored document with status and version metadata.