How to delete multiple datasets

Hi,
Currently to delete dataset, we need to trash one by one. Is there any way to do multiple deletion?
Please advise.
Thank you very much.

@Stima_Livingpresent I would look at using the Admin API for a programmatic deletion of objects.

Refer to this article for more info on setup & usage:

Example DELETE operation using command line:

curl -s \
-X DELETE \ 
-H "Authorization: apikey cfWUOh1aAxXW8GIot7cbAovU5NHabGWu4tz0nVFEDzo5KFap" \
10.0.0.221:38888/arc/adminapi/v1/datasets/1191

By changing the “1191” to the set of datasets you want to delete you can programmatically iterate through them.

2 Likes