ckanaction

package_delete

Delete a dataset (package).

This makes the dataset disappear from all web & API views, apart from the trash.

You must be authorized to delete the dataset.

DELETE
package_delete

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

id?string

the id or name of the dataset to delete

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