CKAN icon

CKAN

Interact with the CKAN API

Package Update

AI-generated

Summary

Fully replaces an existing CKAN dataset by sending a POST request to the CKAN package_update action. Supply the dataset ID or slug and its URL-safe name; any other fields omitted from the request revert to CKAN defaults, so use Package Patch when you only want to change selected fields.

Inputs

  • CKAN URL (required) — URL of the CKAN instance.
  • Id (required) — Unique ID or name (slug) of the dataset to update.
  • Name (required) — URL-safe slug for the dataset.
  • Title — Human-readable title.
  • Notes — Dataset description; Markdown is supported.
  • Owner Org — ID or name of the owning organization.
  • License Id — License identifier, such as cc-by.
  • Private — Whether the dataset is visible only to organization members; defaults to false.
  • State — Dataset state, such as active or deleted.
  • Tags — JSON array of tag objects, for example [ {"name":"environment"} ].
  • Extras — JSON array of extra metadata, for example [ {"key":"region","value":"EU"} ].

Output shape

One item per input item, each containing a CKAN response or an error.

On success, each item has json.success: true and json.data with CKAN's result. With Continue On Fail enabled, failed items contain json.error. Requires CKAN API credentials with permission to update the dataset.

Links

Discussion