CKAN icon

CKAN

Interact with the CKAN API

Group Patch

AI-generated

Summary

Partially updates a CKAN group: provided fields are sent to the API while omitted fields are left unchanged. Supply the CKAN instance URL and the group ID or slug; the optional extras, packages, groups, and users values replace those lists when included.

Inputs

  • CKAN URL (required) — URL of the CKAN instance.
  • Id (required) — Unique ID or slug of the group to patch.
  • Title — New human-readable title.
  • Description — New group description.
  • Image Url — New image URL.
  • Type — Group type; cannot be "organization".
  • State — New state, such as "active" or "deleted".
  • Approval Status — Group approval status.
  • Extras — JSON list of replacement extras, for example [{"key":"region","value":"EU"}].
  • Packages — JSON list of replacement datasets, for example [{"name":"my-dataset"}].
  • Groups — JSON list of replacement sub-groups, for example [{"name":"sub-group","capacity":"member"}].
  • Users — JSON list of replacement members, for example [{"name":"john","capacity":"admin"}].

Output shape

One CKAN response item per input item, containing {"success":true,"data":}.

Requires CKAN API credentials because this is a POST operation. If Continue On Fail is enabled, failed items instead contain an error field.

Links

Discussion