ckanaction

organization_purge

Purge an organization.

Warning!

Purging an organization cannot be undone!

Purging an organization completely removes the organization from the CKAN database, whereas deleting a organization simply marks the organization as deleted (it will no longer show up in the frontend, but is still in the db).

Datasets owned by the organization will remain, just not in an organization anymore.

You must be authorized to purge the organization.

DELETE
organization_purge

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

id?string

the name or id of the organization to be purged

curl -X DELETE "http://localhost:5000/api/3/action/organization_purge" \  -H "Content-Type: application/json" \  -d '{}'