ckanaction

organization_delete

DELETE
organization_delete

Delete an organization.

You must be authorized to delete the organization and no datasets should belong to the organization unless 'ckan.auth.create_unowned_dataset=True'

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the name or id of the organization

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