update-tag
Update an existing tag's name or color in the database. Requires specifying all tag fields including unchanged ones.
Instructions
Update the existing tag in the database. You should retrieve the existing tag with list-tags first. When updating the tag, you must specify not only the changed fields but also all the un-changed fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _id | Yes | The unique document ID which should start with `tag:` and the remains are randomly generated string | |
| _rev | Yes | This is a CouchDB specific field. The current MVCC-token/revision of this document (mandatory and immutable). | |
| name | Yes | The name of the tag | |
| color | No | The color type of the tag | default |