ckanaction

tag_delete

DELETE
tag_delete

Delete a tag.

You must be a sysadmin to delete tags.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id or name of the tag

vocabulary_id?string

the id or name of the vocabulary that the tag belongs to (default: None)

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