CKAN icon

CKAN

Interact with the CKAN API

Organization Create

AI-generated

Summary

Create an organization on the configured CKAN instance by sending the supplied organization fields to CKAN’s organization_create action. Requires CKAN API credentials with authorization to create organizations.

Inputs

  • CKAN URL (required) — Base URL of the CKAN instance, such as https://demo.ckan.org.
  • Name (required) — URL-safe organization slug (2–100 lowercase letters or digits, hyphens, or underscores).
  • Id — Optional organization ID.
  • Title — Human-readable organization title.
  • Description — Organization description.
  • Image Url — URL of the image displayed on the organization page.
  • State — Organization state, such as active or deleted; CKAN defaults it to active when omitted.
  • Approval Status — Organization approval status.
  • Extras — JSON value for arbitrary key/value metadata, typically an array of objects such as [{"key":"region","value":"EU"}].
  • Packages — JSON value listing datasets for the organization, such as [{"name":"my-dataset"}].
  • Users — JSON value listing organization members, such as [{"name":"john","capacity":"admin"}].

Output shape

One item per input item, each containing a single JSON object.

On success, the object is { "success": true, "data": ... }, where data is CKAN’s result for the created organization. Requires a configured CKAN API token; API or CKAN errors fail the operation, or are returned as { "error": "..." } when Continue On Fail is enabled.

Links

Discussion