ckanaction

organization_purge

DELETE
organization_purge

Purge an organization.

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.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the name or id of the organization to be purged

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