Delete API

The delete API is a read-only data page, D_pxDelete. This API deletes a specific file or folder in a repository.

To use this API, define the following parameters:

  • repositoryName – the name of the repository from which you want to delete the file or folder.
  • filePath – the path to the file or folder that you want to delete, relative to the root path of the repository.
  • recursiveDelete – specifies whether to recursively delete the folder contents. As a best practice, set this parameter to true. If you set this value to false for a folder, the folder must be empty.