The parameter color_tag should be optional when updating a tag (Or the documentation should be changed). Since color_id is optional when creating a tag, it is counter intuitive, that it is needed when updating a tag.
https://docs.kanboard.org/en/latest/api/tags_procedures.html#updatetag