CKAN icon

CKAN

Interact with the CKAN API

Package Delete

AI-generated

Summary

Soft-delete a CKAN dataset by its unique ID or name (slug). CKAN marks it deleted and removes it from search results and listings; a sysadmin can restore it.

Inputs

  • CKAN URL (required) — Base URL of the CKAN instance, such as https://demo.ckan.org.
  • Id (required) — Unique ID or name (slug) of the dataset to delete. The request uses the CKAN API and requires CKAN credentials with an API token.

Output shape

One item per input item, containing a single record.

On success, the record is {"success": true, "data": }. With Continue On Fail enabled, failed items contain an error message instead. This is a soft delete, not a permanent purge.

Links

Discussion