Skip to main content

 –

Delete API

Suggest edit Updated on January 29, 2021

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.

Related Content

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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