ckanaction

group_purge

DELETE
group_purge

Purge a group.

Purging a group cannot be undone!

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

Datasets in the group will remain, just not in the purged group.

You must be authorized to purge the group.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the name or id of the group to be purged

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