ckanaction

vocabulary_update

Update a tag vocabulary.

You must a sysadmin to update vocabularies.

PUT
vocabulary_update

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

id?string

the id of the vocabulary to update

name?string

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

tags?

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

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