CKAN icon

CKAN

Interact with the CKAN API

Group Create

AI-generated

Summary

Create a CKAN group by sending its required URL-safe name and any supplied group details to the CKAN API. The operation requires CKAN API credentials and returns the created group data for each input item.

Inputs

  • CKAN URL (required) — Base URL of the CKAN instance.
  • Name (required) — Group slug: 2–100 lowercase letters or digits, hyphens, or underscores.
  • Id — Optional group ID.
  • Title — Human-readable group title.
  • Description — Group description.
  • Image Url — URL of the image displayed on the group page.
  • Type — Group type; defaults to "group" and cannot be "organization".
  • State — Group state, such as "active" or "deleted"; defaults to "active" and is ignored if the caller cannot change it.
  • Approval Status — Optional approval status.
  • Extras — JSON array of metadata objects with "key" and "value", and optionally "deleted".
  • Packages — JSON array of datasets to associate, each with a "name" (ID or slug) and optionally a "title".
  • Groups — JSON array of sub-groups to associate, each with a "name" and optionally a "capacity".
  • Users — JSON array of users to associate, each with a "name" and optionally a "capacity".

Output shape

One item per input item, containing the created group data in json.data.

Successful items have json.success: true. If Continue On Fail is enabled, failed items instead contain json.error; otherwise an error stops execution. A CKAN API token credential is required, and the caller must be authorized to create groups.

Links

Discussion