CKAN icon

CKAN

Interact with the CKAN API

Group Update

AI-generated

Summary

Update a CKAN group by sending its ID or slug and name, plus any supplied group fields, to the CKAN API. This is a full record replacement: fields omitted from the request revert to CKAN defaults, so provide the complete desired group state; use Group Patch for partial changes.

Inputs

  • CKAN URL (required) — Base URL of the CKAN instance.
  • Id (required) — Unique ID or slug of the group to update.
  • Name (required) — URL-safe slug for the group.
  • Title — Human-readable group title.
  • Description — Group description.
  • Image Url — URL of the image displayed on the group's page.
  • Type — Group type; cannot be "organization".
  • State — Group state, such as "active" or "deleted".
  • Approval Status — Group approval status.
  • Extras — JSON array of key/value metadata objects.
  • Packages — JSON array of datasets to associate with the group, such as objects with a name.
  • Groups — JSON array of sub-groups, such as objects with a name and optional capacity.
  • Users — JSON array of group members, such as objects with a name and optional capacity.

Output shape

One item per input item, containing the CKAN result in json.data and json.success: true.

Requires CKAN credentials with an API token. The node checks CKAN status before the first request to each URL. If Continue On Fail is enabled, failed items contain json.error instead.

Examples

Example 1: Update a group's title and description

Set CKAN URL, Id, Name, Title, and Description. Because this is a full update, include any other group fields whose existing values you want to retain.

Links

Discussion