Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. IDMC REST API
  3. REST API resource quick references
  4. Platform REST API version 2 resources
  5. Platform REST API version 3 resources
  6. Data Integration REST API
  7. Cloud Data Integration for PowerCenter (CDI-PC) REST API
  8. Data Ingestion and Replication REST API
  9. RunAJob utility
  10. ParamSetCli utility
  11. REST API codes

REST API Reference

REST API Reference

Deleting a folder

Deleting a folder

You can delete a folder if it is empty and you have delete permission for the folder. If the folder contains assets, you must delete or move the assets before you can delete it.

DELETE request

To delete a folder that's in the Default project, use the following URI:
/public/core/v3/projects/<folder ID>
To delete a folder that's in a project other than the Default project, use one of the following URIs:
/public/core/v3/projects/<project ID>/folders/<folder ID>
/public/core/v3/projects/name/<project name>/folders/name/<folder name>
You can include project and folder IDs or project and folder names in a URI, but you can't include an ID and a name in a URI. For example, you can't include the project ID and the folder name.

DELETE example

To delete a folder named "Orders:West Coast," you might send the following request:
DELETE <baseApiUrl>/public/core/v3/projects/name/Orders/folders/name/Orders%3AWest%20Coast Content-Type: application/json Accept: application/json INFA-SESSION-ID: <SessionId>

0 COMMENTS

We’d like to hear from you!