ckanaction

dataset_purge

DELETE
dataset_purge

Purge a dataset.

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.

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

curl -X DELETE "https://example.com/dataset_purge" \  -H "Content-Type: application/json" \  -d '{}'