Available for: Content Management Server
Task: Deletes the specified file.
Syntax:
obj (withId objId) | (withPath path) delete
Additional information: The file can only be deleted if it is not the base folder,
contains no files, and is not referenced by links. Links in archived versions do no
prevent the file from being deleted, however. In such links, all information about the
target file including expectedPath
is removed, and expectedPath
is
set to the path the file had at the time of deletion.
Function parameters: none
Return value if successful: none
Necessary permissions (CM only): The user must be a super user or have the permissionRoot
permission for the specified file.
Example:
CM>obj withId 87193 delete