softDeleteObject()

Overview

public string function softDeleteObject(
      required string  path   
    ,          boolean private
)

"Soft" deletes the object that resides at the given path. This requires that the impelementing component moves the object to the configured "trash" storage such that it can be restored later. Must return the trashed path of the object.

Arguments

NameTypeRequiredDescription
pathstringYesThe path of the stored object
privatebooleanNoWhether or not the object is private