ckanaction

vocabulary_update

PUT
vocabulary_update

Update a tag vocabulary.

You must a sysadmin to update vocabularies.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id of the vocabulary to update

name?string

the name of the new vocabulary, e.g. 'Genre'

tags?array<>

the new tags to add to the new vocabulary, for the format of tag dictionaries see tag_create()

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