Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Delete API

Updated on November 23, 2022

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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us