ckanaction

dataset_purge

Purge a dataset.

Warning!

Purging a dataset cannot be undone!

Purging a dataset completely removes the dataset from the CKAN database, whereas deleting a dataset simply marks the dataset as deleted (it will no longer show up in the front-end, but is still in the db).

You must be authorized to purge the dataset.

DELETE
dataset_purge

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

id?string

the id or name of the dataset to be purged

curl -X DELETE "http://localhost:5000/api/3/action/dataset_purge" \  -H "Content-Type: application/json" \  -d '{}'