ckanaction

resource_delete

DELETE
resource_delete

Delete a resource from a dataset.

You must be a sysadmin or the owner of the resource to delete it.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id of the resource

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