CKAN icon

CKAN

Interact with the CKAN API

Organization Patch

AI-generated

Summary

Partially updates an existing CKAN organization, leaving fields you omit unchanged. Supply the CKAN instance URL and the organization’s ID or slug; optionally provide new metadata or replacement lists for extras, datasets, or members.

Inputs

  • CKAN URL (required) — URL of the CKAN instance, such as https://demo.ckan.org.
  • Id (required) — Unique ID or slug of the organization to patch.
  • Title — New human-readable title.
  • Description — New organization description.
  • Image Url — New image URL.
  • State — New state, such as active or deleted.
  • Extras — JSON replacement list of extra fields, for example [{"key":"region","value":"EU"}].
  • Packages — JSON replacement list of datasets, for example [{"name":"my-dataset"}].
  • Users — JSON replacement list of organization members, for example [{"name":"john","capacity":"admin"}].

Output shape

A single CKAN response item per input item.

Successful items contain {"success":true,"data":...} with the CKAN action result. With Continue On Fail enabled, failed items contain an error message. Requires CKAN API credentials with permission to update the organization.

Links

Discussion