Home > @activeviam/activeui-sdk > ContentServer > deleteFile
ContentServer.deleteFile property
Delete the file at the given path. If the file is a directory, its content will be recursively removed. Set childrenOnly
to true
to only remove a directory's children but not the directory itself.
Signature:
deleteFile: (path: ContentServerPath, childrenOnly?: boolean) => Promise<void>;